On Mon, Mar 23, 2026 at 11:22 PM zhidao su <[email protected]> wrote: > > Since Linux 7.0, kfuncs annotated with KF_IMPLICIT_ARGS require pahole > v1.26 or later. Without it, such kfuncs have incorrect BTF prototypes in > vmlinux, causing BPF programs to fail with 'func_proto incompatible with > vmlinux' error. > > This affects all sched_ext kfuncs (e.g. scx_bpf_create_dsq, > scx_bpf_dispatch) and other KF_IMPLICIT_ARGS kfuncs across the kernel. > Ubuntu 24.04 LTS ships pahole v1.25 by default, causing 23/30 sched_ext > selftests to fail on affected systems.
I don't think that's true. At least when implicit args were designed the goal was to avoid pahole dependencies. Please share exact steps to reproduce. Updating doc is definitely not an answer. pw-bot: cr

