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