Jiri Olsa
edac4b5b18
selftests/bpf: Add serial_test_kprobe_multi_bench_attach_kernel/module tests
Add bench test for module portion of the symbols as well.
# ./test_progs -v -t kprobe_multi_bench_attach_module
bpf_testmod.ko is already unloaded.
Loading bpf_testmod.ko...
Successfully loaded bpf_testmod.ko.
test_kprobe_multi_bench_attach:PASS:get_syms 0 nsec
test_kprobe_multi_bench_attach:PASS:kprobe_multi_empty__open_and_load 0 nsec
test_kprobe_multi_bench_attach:PASS:bpf_program__attach_kprobe_multi_opts 0 nsec
test_kprobe_multi_bench_attach: found 26620 functions
test_kprobe_multi_bench_attach: attached in 0.182s
test_kprobe_multi_bench_attach: detached in 0.082s
#96 kprobe_multi_bench_attach_module:OK
Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED
Successfully unloaded bpf_testmod.ko.
It's useful for testing kprobe multi link modules resolving.
Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230116101009.23694-3-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-01-19 17:07:15 -08:00
..
2022-11-18 13:55:09 -08:00
2022-12-22 11:07:29 -08:00
2023-01-13 16:44:21 +01:00
2022-10-25 17:40:48 -03:00
2022-11-01 08:48:13 +00:00
2023-01-15 12:56:17 -08:00
2022-11-09 12:26:52 -05:00
2023-01-13 14:05:47 -08:00
2022-10-18 15:14:52 -07:00
2022-12-19 07:13:33 -06:00
2022-12-22 11:07:29 -08:00
2022-12-12 13:38:17 -08:00
2023-01-19 17:07:15 -08:00
2022-12-09 18:06:24 -05:00
2022-11-09 12:37:56 +01:00
2022-12-21 19:03:42 -08:00
2022-12-28 05:28:11 -05:00
2022-12-13 19:29:45 -08:00