aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/perf_buffer.c
diff options
context:
space:
mode:
authorDave Marchevsky <[email protected]>2021-10-20 07:48:17 +0000
committerAndrii Nakryiko <[email protected]>2021-10-21 22:51:47 +0000
commitaba64c7da98330141dcdadd5612f088043a83696 (patch)
tree2933ccb0d347784aed6093880caf3ca182a91a22 /tools/testing/selftests/bpf/prog_tests/perf_buffer.c
parentlibbpf: Fix ptr_is_aligned() usages (diff)
downloadkernel-aba64c7da98330141dcdadd5612f088043a83696.tar.gz
kernel-aba64c7da98330141dcdadd5612f088043a83696.zip
bpf: Add verified_insns to bpf_prog_info and fdinfo
This stat is currently printed in the verifier log and not stored anywhere. To ease consumption of this data, add a field to bpf_prog_aux so it can be exposed via BPF_OBJ_GET_INFO_BY_FD and fdinfo. Signed-off-by: Dave Marchevsky <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_buffer.c')
0 files changed, 0 insertions, 0 deletions