selftests: Remove fmod_ret from test_overhead
The test_overhead prog_test included an fmod_ret program that attached to __set_task_comm() in the kernel. However, this function was never listed as allowed for return modification, so this only worked because of the verifier skipping tests when a trampoline already existed for the attach point. Now that the verifier checks have been fixed, remove fmod_ret from the test so it works again. Fixes: 4eaf0b5c ("selftest/bpf: Fmod_ret prog and implement test_overhead as part of bench") Acked-by:Andrii Nakryiko <andriin@fb.com> Signed-off-by:
Toke Høiland-Jørgensen <toke@redhat.com> Signed-off-by:
Alexei Starovoitov <ast@kernel.org>
Showing
- tools/testing/selftests/bpf/bench.c 0 additions, 3 deletionstools/testing/selftests/bpf/bench.c
- tools/testing/selftests/bpf/benchs/bench_rename.c 0 additions, 17 deletionstools/testing/selftests/bpf/benchs/bench_rename.c
- tools/testing/selftests/bpf/prog_tests/test_overhead.c 1 addition, 13 deletionstools/testing/selftests/bpf/prog_tests/test_overhead.c
- tools/testing/selftests/bpf/progs/test_overhead.c 0 additions, 6 deletionstools/testing/selftests/bpf/progs/test_overhead.c
Loading
Please register or sign in to comment