Re: [PATCH bpf-next] selftests/bpf: Skip some verifier tests on BTFless kernels

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

 



On Mon, Sep 21, 2020 at 11:42 AM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote:
>
> Mark seven tests as requiring vmlinux btf. Check whether vmlinux btf is
> available, and if not, skip them.
>
> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>
> ---

Ilya,

These changes look good to me, though kernel BTF has been a
requirement for successful BPF selftests run for a while now, so I'm
not sure if we want to do this... It will be up to Alexei and Daniel
to decide, I suppose. I'm fine either way.

But in any case, it seems like patchworks lost your patch, so please
resend it so that it's visible there and can go through normal patch
review workflow. Thanks!

>  tools/testing/selftests/bpf/test_verifier.c   | 24 +++++++++++++++++++
>  tools/testing/selftests/bpf/verifier/d_path.c |  2 ++
>  .../testing/selftests/bpf/verifier/map_ptr.c  |  4 ++++
>  .../selftests/bpf/verifier/map_ptr_mixing.c   |  1 +
>  4 files changed, 31 insertions(+)
>

[...]



[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