summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/veristat.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2022-10-05 19:14:48 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-10-06 02:55:11 +0300
commit2a72f5951ac6d613216a93ae3e172cabb04aaefc (patch)
treef14c8083d2a379fc22a548c3fdf85e7a66f3c70e /tools/testing/selftests/bpf/veristat.c
parentd503f1176b14f722a40ea5110312614982f9a80b (diff)
downloadlinux-2a72f5951ac6d613216a93ae3e172cabb04aaefc.tar.xz
selftests/bpf: allow requesting log level 2 in test_verifier
Log level 1 on successfully verified programs are basically equivalent to log level 4 (stats-only), so it's useful to be able to request more verbose logs at log level 2. Teach test_verifier to recognize -vv as "very verbose" mode switch and use log level 2 in such mode. Also force verifier stats regradless of -v or -vv, they are very minimal and useful to be always emitted in verbose mode. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20221005161450.1064469-1-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/veristat.c')
0 files changed, 0 insertions, 0 deletions