pub fn malformed_scx_kfuncs() -> Vec<String>Expand description
Scan the running kernel’s vmlinux BTF for scx kfuncs whose public-facing
prototype still carries the implicit aux (struct bpf_prog_aux *) argument.
This is the KF_IMPLICIT_ARGS-on-pahole-<1.26 bug: pahole < 1.26 fails to
split such kfuncs into a public prototype (without aux) and an _impl
variant (with it), so the visible prototype keeps aux. BPF programs that
declare the kfunc without it then fail to load with the confusing
‘func_proto incompatible with vmlinux’ error. Returns the names of the
affected kfuncs, so a clear diagnostic can be produced on load failure.