]> Gentwo Git Trees - linux/.git/commit
selftests/bpf: add benchmark testing for kprobe-multi-all
authorMenglong Dong <menglong8.dong@gmail.com>
Thu, 4 Sep 2025 02:10:11 +0000 (10:10 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 4 Sep 2025 16:00:25 +0000 (09:00 -0700)
commita85d888768ea0e024dcc9d5fb172e7be8fd7d631
tree73717da3074d4f505152d8c6d9fd1d9c06ea1058
parentadf6b57ce46ce685a65d54397c4389df754b6a99
selftests/bpf: add benchmark testing for kprobe-multi-all

For now, the benchmark for kprobe-multi is single, which means there is
only 1 function is hooked during testing. Add the testing
"kprobe-multi-all", which will hook all the kernel functions during
the benchmark. And the "kretprobe-multi-all" is added too.

Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Link: https://lore.kernel.org/r/20250904021011.14069-4-dongml2@chinatelecom.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/bench.c
tools/testing/selftests/bpf/benchs/bench_trigger.c
tools/testing/selftests/bpf/benchs/run_bench_trigger.sh
tools/testing/selftests/bpf/progs/trigger_bench.c
tools/testing/selftests/bpf/trace_helpers.c