linux-yocto/tools/testing/selftests/sched_ext
Tejun Heo c31f2ee5cd sched_ext: Fix enq_last_no_enq_fails selftest
cc9877fb76 ("sched_ext: Improve error reporting during loading") changed
how load failures are reported so that more error context can be
communicated. This breaks the enq_last_no_enq_fails test as attach no longer
fails. The scheduler is guaranteed to be ejected on attach completion with
full error information. Update enq_last_no_enq_fails so that it checks that
the scheduler is ejected using ops.exit().

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Vishal Chourasia <vishalc@linux.ibm.com>
Link: http://lkml.kernel.org/r/Zxknp7RAVNjmdJSc@linux.ibm.com
Fixes: cc9877fb76 ("sched_ext: Improve error reporting during loading")
2024-10-25 12:20:29 -10:00
..
.gitignore
config
create_dsq.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
create_dsq.c
ddsp_bogus_dsq_fail.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
ddsp_bogus_dsq_fail.c
ddsp_vtimelocal_fail.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
ddsp_vtimelocal_fail.c
dsp_local_on.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
dsp_local_on.c
enq_last_no_enq_fails.bpf.c sched_ext: Fix enq_last_no_enq_fails selftest 2024-10-25 12:20:29 -10:00
enq_last_no_enq_fails.c sched_ext: Fix enq_last_no_enq_fails selftest 2024-10-25 12:20:29 -10:00
enq_select_cpu_fails.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
enq_select_cpu_fails.c
exit_test.h
exit.bpf.c scx: Fix exit selftest to use custom DSQ 2024-10-25 07:03:36 -10:00
exit.c
hotplug_test.h
hotplug.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
hotplug.c
init_enable_count.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
init_enable_count.c
Makefile selftests/sched_ext: add order-only dependency of runner.o on BPFOBJ 2024-10-23 08:56:32 -10:00
maximal.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
maximal.c
maybe_null_fail_dsp.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
maybe_null_fail_yld.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
maybe_null.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
maybe_null.c
minimal.bpf.c
minimal.c
prog_run.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
prog_run.c
reload_loop.c
runner.c
scx_test.h
select_cpu_dfl_nodispatch.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
select_cpu_dfl_nodispatch.c
select_cpu_dfl.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
select_cpu_dfl.c
select_cpu_dispatch_bad_dsq.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
select_cpu_dispatch_bad_dsq.c
select_cpu_dispatch_dbl_dsp.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
select_cpu_dispatch_dbl_dsp.c
select_cpu_dispatch.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
select_cpu_dispatch.c
select_cpu_vtime.bpf.c sched_ext: Fix function pointer type mismatches in BPF selftests 2024-10-24 06:56:17 -10:00
select_cpu_vtime.c
test_example.c
util.c
util.h