diff options
author | Song Liu <songliubraving@fb.com> | 2021-09-10 11:33:52 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-09-13 10:53:50 -0700 |
commit | 025bd7c753aab18cd594924a46ab46ac47209df9 (patch) | |
tree | 2d03c43e8c339f5b95a134cfe802862b65d45d8b /tools/perf/scripts/python/stackcollapse.py | |
parent | 856c02dbce4f8d6a5644083db22c11750aa11481 (diff) |
selftests/bpf: Add test for bpf_get_branch_snapshot
This test uses bpf_get_branch_snapshot from a fexit program. The test uses
a target function (bpf_testmod_loop_test) and compares the record against
kallsyms. If there isn't enough record matching kallsyms, the test fails.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20210910183352.3151445-4-songliubraving@fb.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions