Re: [PATCH bpf-next] selftest/bpf: make bpf_iter selftest compilable against old vmlinux.h

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

 



On Mon, May 18, 2020 at 4:49 PM Andrii Nakryiko <andriin@xxxxxx> wrote:
>
> It's good to be able to compile bpf_iter selftest even on systems that don't
> have the very latest vmlinux.h, e.g., for libbpf tests against older kernels in
> Travis CI. To that extent, re-define bpf_iter_meta and corresponding bpf_iter
> context structs in each selftest. To avoid type clashes with vmlinux.h, rename
> vmlinux.h's definitions to get them out of the way.
>
> Cc: Jesper Dangaard Brouer <brouer@xxxxxxxxxx>
> Cc: Yonghong Song <yhs@xxxxxx>
> 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