Thread (4 messages) flat view 4 messages, 4 authors, 2020-05-19

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

From: Alexei Starovoitov <hidden>
Date: 2020-05-19 18:44:26
Also in: bpf

On Mon, May 18, 2020 at 4:49 PM Andrii Nakryiko [off-list ref] 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 <redacted>
Cc: Yonghong Song <redacted>
Signed-off-by: Andrii Nakryiko <redacted>
Applied. Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help