diff options
| author | Jiri Olsa <[email protected]> | 2022-05-10 14:26:16 +0200 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-05-10 14:42:06 -0700 |
| commit | 5b6c7e5c44349b29c614e1b61f80c6849fc72ccf (patch) | |
| tree | b3668dbe0d94016081c7e48f29d1bc0febf1f471 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0236fec57a15dc2a068dfe4488e0c2ab4559b1ec (diff) | |
selftests/bpf: Add attach bench test
Adding test that reads all functions from ftrace available_filter_functions
file and attach them all through kprobe_multi API.
It also prints stats info with -v option, like on my setup:
test_bench_attach: found 48712 functions
test_bench_attach: attached in 1.069s
test_bench_attach: detached in 0.373s
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions