selftests: Remove fmod_ret from test_overhead
authorToke Høiland-Jørgensen <toke@redhat.com>
Fri, 25 Sep 2020 21:25:11 +0000 (23:25 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 29 Sep 2020 00:20:28 +0000 (17:20 -0700)
commitb000def2e052fc8ddea31a18019f6ebe044defb3
tree9daef11fed469ca8ae8025e9f15a285205d20130
parentf7b12b6fea00988496b7606d4964cd77beef46a5
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: 4eaf0b5c5e04 ("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>
tools/testing/selftests/bpf/bench.c
tools/testing/selftests/bpf/benchs/bench_rename.c
tools/testing/selftests/bpf/prog_tests/test_overhead.c
tools/testing/selftests/bpf/progs/test_overhead.c