linux/tools/sched_ext/include/scx
Chuyi Zhou 2e2006c91c sched_ext: Fix the incorrect bpf_list kfunc API in common.bpf.h.
Now BPF only supports bpf_list_push_{front,back}_impl kfunc, not bpf_list_
push_{front,back}.

This patch fix this issue. Without this patch, if we use bpf_list kfunc
in scx, the BPF verifier would complain:

libbpf: extern (func ksym) 'bpf_list_push_back': not found in kernel or
module BTFs
libbpf: failed to load object 'scx_foo'
libbpf: failed to load BPF skeleton 'scx_foo': -EINVAL

With this patch, the bpf list kfunc will work as expected.

Signed-off-by: Chuyi Zhou <zhouchuyi@bytedance.com>
Fixes: 2a52ca7c98 ("sched_ext: Add scx_simple and scx_example_qmap example schedulers")
Signed-off-by: Tejun Heo <tj@kernel.org>
2025-02-13 06:47:08 -10:00
..
common.bpf.h sched_ext: Fix the incorrect bpf_list kfunc API in common.bpf.h. 2025-02-13 06:47:08 -10:00
common.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
compat.bpf.h sched_ext: Add scx_bpf_now() for BPF scheduler 2025-01-10 08:04:40 -10:00
compat.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
enums.autogen.bpf.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
enums.autogen.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
enums.bpf.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
enums.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00
user_exit_info.h tools/sched_ext: Receive updates from SCX repo 2024-12-12 16:16:57 -10:00