summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2023-09-21 00:31:44 +0300
committerAndrii Nakryiko <andrii@kernel.org>2023-09-26 02:37:45 +0300
commit59e83c0187c5eed648c28aea637a5cf3e246921b (patch)
treefad29191f5c3c606de1a5ad7e8a70d1c171c04f7 /scripts/gdb/linux/utils.py
parent01e4ae474e39b855f911caec355bb79e722562b3 (diff)
downloadlinux-59e83c0187c5eed648c28aea637a5cf3e246921b.tar.xz
selftests/bpf: Add test for recursion counts of perf event link kprobe
Adding selftest that puts kprobe.multi on bpf_fentry_test1 that calls bpf_kfunc_common_test kfunc which has 3 perf event kprobes and 1 kprobe.multi attached. Because fprobe (kprobe.multi attach layear) does not have strict recursion check the kprobe's bpf_prog_active check is hit for test2-5. Disabling this test for arm64, because there's no fprobe support yet. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Tested-by: Song Liu <song@kernel.org> Reviewed-by: Song Liu <song@kernel.org> Acked-by: Hou Tao <houtao1@huawei.com> Link: https://lore.kernel.org/bpf/20230920213145.1941596-9-jolsa@kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions