summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2023-09-21 00:31:45 +0300
committerAndrii Nakryiko <andrii@kernel.org>2023-09-26 02:37:45 +0300
commit85981e0f9e9fc882578f0ad7488d6c59193dd187 (patch)
treec693b65caa5a8a700c04677fcce5e8db95a7a706 /scripts/gdb/linux/utils.py
parent59e83c0187c5eed648c28aea637a5cf3e246921b (diff)
downloadlinux-85981e0f9e9fc882578f0ad7488d6c59193dd187.tar.xz
selftests/bpf: Add test for recursion counts of perf event link tracepoint
Adding selftest that puts kprobe on bpf_fentry_test1 that calls bpf_printk and invokes bpf_trace_printk tracepoint. The bpf_trace_printk tracepoint has test[234] programs attached to it. Because kprobe execution goes through bpf_prog_active check, programs attached to the tracepoint will fail the recursion check and increment the recursion_misses stats. 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> Link: https://lore.kernel.org/bpf/20230920213145.1941596-10-jolsa@kernel.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions