[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQK9XT1s36r4mj2HHj9M2W307qdgrURhwEPm_LO3S2vVhQ@mail.gmail.com>
Date: Thu, 21 Nov 2019 09:02:07 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andriin@...com>
Cc: bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii.nakryiko@...il.com>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH bpf-next] selftests/bpf: integrate verbose verifier log
into test_progs
On Tue, Nov 19, 2019 at 4:36 PM Andrii Nakryiko <andriin@...com> 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@...com>
Applied. Thanks
Powered by blists - more mailing lists