summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/map_ptr.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2023-08-09 11:34:37 +0300
committerAlexei Starovoitov <ast@kernel.org>2023-08-22 01:51:27 +0300
commit85209e839fc2933ca1a167f3af89dce5abff42d4 (patch)
tree509a9e3ed42225d218c829139042150862b1065a /tools/testing/selftests/bpf/prog_tests/map_ptr.c
parent4cde2d8aa7f705fdc395e05d4acd7a9512871f59 (diff)
downloadlinux-85209e839fc2933ca1a167f3af89dce5abff42d4.tar.xz
selftests/bpf: Add uprobe_multi usdt bench test
Adding test that attaches 50k usdt probes in usdt_multi binary. After the attach is done we run the binary and make sure we get proper amount of hits. With current uprobes: # perf stat --null ./test_progs -n 254/6 #254/6 uprobe_multi_test/bench_usdt:OK #254 uprobe_multi_test:OK Summary: 1/1 PASSED, 0 SKIPPED, 0 FAILED Performance counter stats for './test_progs -n 254/6': 1353.659680562 seconds time elapsed With uprobe_multi link: # perf stat --null ./test_progs -n 254/6 #254/6 uprobe_multi_test/bench_usdt:OK #254 uprobe_multi_test:OK Summary: 1/1 PASSED, 0 SKIPPED, 0 FAILED Performance counter stats for './test_progs -n 254/6': 0.322046364 seconds time elapsed Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20230809083440.3209381-26-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/map_ptr.c')
0 files changed, 0 insertions, 0 deletions