diff options
author | Yipeng Zou <zouyipeng@huawei.com> | 2023-08-14 11:07:27 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-08-14 18:43:04 +0200 |
commit | 83a89c4b6ae93481d3f618aba6a29d89208d26ed (patch) | |
tree | c6a448965b08f40520a81b9743ba115f641a1af6 /tools | |
parent | 811915db674f8daf19bb4fcb67da9017235ce26d (diff) | |
download | linux-83a89c4b6ae93481d3f618aba6a29d89208d26ed.tar.gz linux-83a89c4b6ae93481d3f618aba6a29d89208d26ed.tar.bz2 linux-83a89c4b6ae93481d3f618aba6a29d89208d26ed.zip |
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 b000def2e052
("selftests: Remove fmod_ret from test_overhead"), thus remove it
from the runners in the test script.
Fixes: b000def2e052 ("selftests: Remove fmod_ret from test_overhead")
Signed-off-by: Yipeng Zou <zouyipeng@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230814030727.3010390-1-zouyipeng@huawei.com
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/testing/selftests/bpf/benchs/run_bench_rename.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/benchs/run_bench_rename.sh b/tools/testing/selftests/bpf/benchs/run_bench_rename.sh index 16f774b1cdbe..7b281dbe4165 100755 --- a/tools/testing/selftests/bpf/benchs/run_bench_rename.sh +++ b/tools/testing/selftests/bpf/benchs/run_bench_rename.sh @@ -2,7 +2,7 @@ set -eufo pipefail -for i in base kprobe kretprobe rawtp fentry fexit fmodret +for i in base kprobe kretprobe rawtp fentry fexit do summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-) printf "%-10s: %s\n" $i "$summary" |