]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/sched_ext: fix build after renames in sched_ext API
authorIhor Solodrai <ihor.solodrai@pm.me>
Thu, 21 Nov 2024 21:40:17 +0000 (21:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2025 16:22:57 +0000 (17:22 +0100)
commitfc20e87419e59d86f3bbcee2d4506bcd01c6450a
tree238a0d72eeec5f0c832fbeafdd815d75168b7b70
parent621f95fa0b93ce93a4b2f2d9277d0e8d88833776
selftests/sched_ext: fix build after renames in sched_ext API

[ Upstream commit ef7009decc30eb2515a64253791d61b72229c119 ]

The selftests are falining to build on current tip of bpf-next and
sched_ext [1]. This has broken BPF CI [2] after merge from upstream.

Use appropriate function names in the selftests according to the
recent changes in the sched_ext API [3].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=fc39fb56917bb3cb53e99560ca3612a84456ada2
[2] https://github.com/kernel-patches/bpf/actions/runs/11959327258/job/33340923745
[3] https://lore.kernel.org/all/20241109194853.580310-1-tj@kernel.org/

Signed-off-by: Ihor Solodrai <ihor.solodrai@pm.me>
Acked-by: Andrea Righi <arighi@nvidia.com>
Acked-by: David Vernet <void@manifault.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
12 files changed:
tools/testing/selftests/sched_ext/ddsp_bogus_dsq_fail.bpf.c
tools/testing/selftests/sched_ext/ddsp_vtimelocal_fail.bpf.c
tools/testing/selftests/sched_ext/dsp_local_on.bpf.c
tools/testing/selftests/sched_ext/enq_select_cpu_fails.bpf.c
tools/testing/selftests/sched_ext/exit.bpf.c
tools/testing/selftests/sched_ext/maximal.bpf.c
tools/testing/selftests/sched_ext/select_cpu_dfl.bpf.c
tools/testing/selftests/sched_ext/select_cpu_dfl_nodispatch.bpf.c
tools/testing/selftests/sched_ext/select_cpu_dispatch.bpf.c
tools/testing/selftests/sched_ext/select_cpu_dispatch_bad_dsq.bpf.c
tools/testing/selftests/sched_ext/select_cpu_dispatch_dbl_dsp.bpf.c
tools/testing/selftests/sched_ext/select_cpu_vtime.bpf.c