diff options
| author | Alexei Starovoitov <[email protected]> | 2021-02-10 03:36:31 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-02-11 15:19:20 +0000 |
| commit | 9ed9e9ba2337205311398a312796c213737bac35 (patch) | |
| tree | 361082a8f4e91f8d2891a77168843bdce88a9958 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | selftest/bpf: Add a recursion test (diff) | |
| download | kernel-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
