[PATCH bpf-next v2 0/2] libbpf: Fix struct and union zero detection in BTF dumper
From: Luis Vieira
Date: Wed Sep 30 2026 - 23:45:00 EST
Fix struct and union zero detection in the BTF dumper and add the
regression coverage in a separate selftest patch.
Changes in v2:
- Split the regression selftest into a separate patch, as requested by
Andrii Nakryiko.
- Link to v1:
https://patch.msgid.link/20260928-libbpf-btf-enodata-fix-v1-1-56dae4cab778@xxxxxxxxx
---
Luis Vieira (2):
libbpf: Fix struct and union zero detection in BTF dumper
selftests/bpf: Add regression test for BTF dump zero detection
tools/lib/bpf/btf_dump.c | 2 +-
tools/testing/selftests/bpf/prog_tests/btf_dump.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
---
base-commit: 6a75c73eebd4d497ded7d08b47894f9ddbebb5a9
change-id: 20260928-libbpf-btf-enodata-fix-ac6381645ab8
Best regards,
--
Luis Vieira <luisflavieira@xxxxxxxxx>