aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2023-09-20 23:31:45 +0200
committerAndrii Nakryiko <[email protected]>2023-09-25 16:37:45 -0700
commit85981e0f9e9fc882578f0ad7488d6c59193dd187 (patch)
treec693b65caa5a8a700c04677fcce5e8db95a7a706 /net/lapb/lapb_subr.c
parent59e83c0187c5eed648c28aea637a5cf3e246921b (diff)
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 <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Tested-by: Song Liu <[email protected]> Reviewed-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions