Re: [PATCH bpf-next] selftests/bpf: integrate verbose verifier log into test_progs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 19, 2019 at 4:36 PM Andrii Nakryiko <andriin@xxxxxx> wrote:
>
> Add exra level of verboseness, activated by -vvv argument. When -vv is
> specified, verbose libbpf and verifier log (level 1) is output, even for
> successful tests. With -vvv, verifier log goes to level 2.
>
> This is extremely useful to debug verifier failures, as well as just see the
> state and flow of verification. Before this, you'd have to go and modify
> load_program()'s source code inside libbpf to specify extra log_level flags,
> which is suboptimal to say the least.
>
> Currently -vv and -vvv triggering verifier output is integrated into
> test_stub's bpf_prog_load as well as bpf_verif_scale.c tests.
>
> Signed-off-by: Andrii Nakryiko <andriin@xxxxxx>

Applied. Thanks



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux