diff options
author | Alexei Starovoitov <[email protected]> | 2021-02-09 19:36:31 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-02-11 16:19:20 +0100 |
commit | 9ed9e9ba2337205311398a312796c213737bac35 (patch) | |
tree | 361082a8f4e91f8d2891a77168843bdce88a9958 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
parent | 406c557edc5bb903db9f6cdd543cfc282c663ad8 (diff) |
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