libbpf: Move bpf_{helpers, helper_defs, endian, tracing}.h into libbpf
authorAndrii Nakryiko <andriin@fb.com>
Tue, 8 Oct 2019 17:59:40 +0000 (10:59 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 8 Oct 2019 21:16:03 +0000 (23:16 +0200)
commite01a75c159691714607b8a22daa2ba7be275dd01
tree364a23b2a6384b037cce99f04ae84efa9a533271
parent3ac4dbe3dd8943450e0366f8174fbfc286ea8f19
libbpf: Move bpf_{helpers, helper_defs, endian, tracing}.h into libbpf

Move bpf_helpers.h, bpf_tracing.h, and bpf_endian.h into libbpf. Move
bpf_helper_defs.h generation into libbpf's Makefile. Ensure all those
headers are installed along the other libbpf headers. Also, adjust
selftests and samples include path to include libbpf now.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20191008175942.1769476-6-andriin@fb.com
samples/bpf/Makefile
tools/lib/bpf/.gitignore
tools/lib/bpf/Makefile
tools/lib/bpf/bpf_endian.h [new file with mode: 0644]
tools/lib/bpf/bpf_helpers.h [new file with mode: 0644]
tools/lib/bpf/bpf_tracing.h [new file with mode: 0644]
tools/testing/selftests/bpf/.gitignore
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/bpf_endian.h [deleted file]
tools/testing/selftests/bpf/bpf_helpers.h [deleted file]
tools/testing/selftests/bpf/bpf_tracing.h [deleted file]