[PATCH bpf v2 0/2] libbpf: Fix BTF dump of pointer-to-array-of-struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix an issue with the libbpf BTF dump, see patch 1 for details.

Since [v1] I added the selftest in patch 2, though I couldn't figure out
a way to make it independent from the order in which debug info is
issued by the compiler.

[v1]: https://lore.kernel.org/bpf/20210318122700.396574-1-jean-philippe@xxxxxxxxxx/

Jean-Philippe Brucker (2):
  libbpf: Fix BTF dump of pointer-to-array-of-struct
  selftests/bpf: Add selftest for pointer-to-array-of-struct BTF dump

 tools/lib/bpf/btf_dump.c                                  | 2 +-
 .../selftests/bpf/progs/btf_dump_test_case_syntax.c       | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

-- 
2.30.2




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux