diff options
author | Jiri Olsa <jolsa@kernel.org> | 2023-08-09 11:34:35 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-08-22 01:51:27 +0300 |
commit | 3706919ee05f7667f5751eba3e06ae5b2bf1bffa (patch) | |
tree | d71d6008203046dd811bd6b614351c738587a427 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 519dfeaf5119e316c1b3301ba2e38eb6d5eb0733 (diff) | |
download | linux-3706919ee05f7667f5751eba3e06ae5b2bf1bffa.tar.xz |
selftests/bpf: Add uprobe_multi bench test
Adding test that attaches 50k uprobes in uprobe_multi binary.
After the attach is done we run the binary and make sure we
get proper amount of hits.
The resulting attach/detach times on my setup:
test_bench_attach_uprobe:PASS:uprobe_multi__open 0 nsec
test_bench_attach_uprobe:PASS:uprobe_multi__attach 0 nsec
test_bench_attach_uprobe:PASS:uprobes_count 0 nsec
test_bench_attach_uprobe: attached in 0.346s
test_bench_attach_uprobe: detached in 0.419s
#262/5 uprobe_multi_test/bench_uprobe:OK
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230809083440.3209381-24-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions