Hi, While looking for reports to fix before release 1.28 I got to Matthias reports about segfaults in systems where BTF isn't present, so I introduced a regression test and infrastructure to allow testing handling such a system, please take a look. Thanks, - Arnaldo Arnaldo Carvalho de Melo (5): core: Add method to get the vmlinux BTF filename, allow overriding it via env var tests default_vmlinux_btf: Introduce test for using BTF by default pahole: Honour exclusive BTF loading tests default_vmlinux_btf: Cover the no args segfault too core, libctf: Check if constructor arguments are NULL before using them dwarves.c | 33 ++++++++++++++++++++++++++++++--- dwarves.h | 2 ++ libctf.c | 3 +++ man-pages/pahole.1 | 4 ++++ pahole.c | 11 +++++++++-- tests/default_vmlinux_btf.sh | 32 ++++++++++++++++++++++++++++++++ 6 files changed, 80 insertions(+), 5 deletions(-) create mode 100755 tests/default_vmlinux_btf.sh -- 2.47.0