Re: [PATCH bpf-next] btf: Remove the dependency on BPF_SYSCALL
From: Thomas Weißschuh
Date: Mon Aug 03 2026 - 04:59:36 EST
On Mon, Aug 03, 2026 at 09:52:39AM +0200, Thomas Weißschuh wrote:
> BTF has become useful without the BPF syscall being present.
> It is used by debuggers and introspection tools like pahole.
> The dependency prevents the usage of BTF without pulling in the
> rest of the BPF subsystem.
>
> Remove the dependency.
Please disregard this patch.
Sashiko found a few valid issues:
https://sashiko.dev/#/patchset/20260803-btf-dep-bpf-syscall-v1-1-a03291e27888%40linutronix.de
The patch somehow passed the 0day bot. I'll investigate.
Also pahole is perfectly fine using DWARF debug data.
If no debug information is available at all, it prints an error about
missing BTF information, which confused me.
Thomas