Skip to content

Commit 83a89c4

Browse files
Yipeng Zouborkmann
authored andcommitted
selftests/bpf: Clean up fmod_ret in bench_rename test script
Running the bench_rename test script, the following error occurs: # ./benchs/run_bench_rename.sh base : 0.819 ± 0.012M/s kprobe : 0.538 ± 0.009M/s kretprobe : 0.503 ± 0.004M/s rawtp : 0.779 ± 0.020M/s fentry : 0.726 ± 0.007M/s fexit : 0.691 ± 0.007M/s benchmark 'rename-fmodret' not found The bench_rename_fmodret has been removed in commit b000def ("selftests: Remove fmod_ret from test_overhead"), thus remove it from the runners in the test script. Fixes: b000def ("selftests: Remove fmod_ret from test_overhead") Signed-off-by: Yipeng Zou <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 811915d commit 83a89c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/benchs/run_bench_rename.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eufo pipefail
44

5-
for i in base kprobe kretprobe rawtp fentry fexit fmodret
5+
for i in base kprobe kretprobe rawtp fentry fexit
66
do
77
summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
88
printf "%-10s: %s\n" $i "$summary"

0 commit comments

Comments
 (0)