]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Add more stats into veristat
authorMykyta Yatsenko <yatsenko@meta.com>
Mon, 9 Dec 2024 13:04:55 +0000 (13:04 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 9 Dec 2024 17:57:51 +0000 (09:57 -0800)
commit82c1f13de315f38ecdb63d8b0e63ad7d70994d55
tree1244db384141af55af9f01afbf91fccf9dca3b6a
parent442bc81bd344dc52c37d8f80b854cc6da062b2d0
selftests/bpf: Add more stats into veristat

Extend veristat to collect and print more stats, namely:
  - program size in instructions
  - jited program size in bytes
  - program type
  - attach type
  - stack depth

Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241209130455.94592-1-mykyta.yatsenko5@gmail.com
tools/testing/selftests/bpf/veristat.c