aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/trace_helpers.c
diff options
context:
space:
mode:
authorMenglong Dong <menglong8.dong@gmail.com>2025-09-04 10:10:11 +0800
committerAlexei Starovoitov <ast@kernel.org>2025-09-04 09:00:25 -0700
commita85d888768ea0e024dcc9d5fb172e7be8fd7d631 (patch)
tree73717da3074d4f505152d8c6d9fd1d9c06ea1058 /tools/testing/selftests/bpf/trace_helpers.c
parentselftests/bpf: skip recursive functions for kprobe_multi (diff)
downloadlinux-a85d888768ea0e024dcc9d5fb172e7be8fd7d631.tar.gz
linux-a85d888768ea0e024dcc9d5fb172e7be8fd7d631.zip
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>
Diffstat (limited to 'tools/testing/selftests/bpf/trace_helpers.c')
-rw-r--r--tools/testing/selftests/bpf/trace_helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/trace_helpers.c b/tools/testing/selftests/bpf/trace_helpers.c
index 9577979bd84d..171987627f3a 100644
--- a/tools/testing/selftests/bpf/trace_helpers.c
+++ b/tools/testing/selftests/bpf/trace_helpers.c
@@ -549,6 +549,7 @@ static const char * const trace_blacklist[] = {
"preempt_count_sub",
"__rcu_read_lock",
"__rcu_read_unlock",
+ "bpf_get_numa_node_id",
};
static bool skip_entry(char *name)