aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2021-02-10 03:36:31 +0000
committerDaniel Borkmann <[email protected]>2021-02-11 15:19:20 +0000
commit9ed9e9ba2337205311398a312796c213737bac35 (patch)
tree361082a8f4e91f8d2891a77168843bdce88a9958 /tools/testing/selftests/bpf/prog_tests/recursion.c
parentselftest/bpf: Add a recursion test (diff)
downloadkernel-9ed9e9ba2337205311398a312796c213737bac35.tar.gz
kernel-9ed9e9ba2337205311398a312796c213737bac35.zip
bpf: Count the number of times recursion was prevented
Add per-program counter for number of times recursion prevention mechanism was triggered and expose it via show_fdinfo and bpf_prog_info. Teach bpftool to print it. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions