Thread (30 messages) 30 messages, 4 authors, 2020-01-17

Re: [PATCH bpf-next v3 08/11] samples/bpf: Use consistent include paths for libbpf

From: Andrii Nakryiko <hidden>
Date: 2020-01-16 22:23:22
Also in: bpf, linux-kselftest, linux-rdma, lkml

On Thu, Jan 16, 2020 at 5:28 AM Toke Høiland-Jørgensen [off-list ref] wrote:
From: Toke Høiland-Jørgensen <redacted>

Fix all files in samples/bpf to include libbpf header files with the bpf/
prefix, to be consistent with external users of the library. Also ensure
that all includes of exported libbpf header files (those that are exported
on 'make install' of the library) use bracketed includes instead of quoted.

To make sure no new files are introduced that doesn't include the bpf/
prefix in its include, remove tools/lib/bpf from the include path entirely,
and use tools/lib instead.

Fixes: 6910d7d3867a ("selftests/bpf: Ensure bpf_helper_defs.h are taken from selftests dir")
Acked-by: Jesper Dangaard Brouer <redacted>
Signed-off-by: Toke Høiland-Jørgensen <redacted>
---
Acked-by: Andrii Nakryiko <redacted>

[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help