OSDN Git Service

libbpf: auto-generate list of BPF helper definitions
authorAndrii Nakryiko <andriin@fb.com>
Mon, 7 Oct 2019 03:07:38 +0000 (20:07 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 7 Oct 2019 05:29:36 +0000 (22:29 -0700)
commit24f25763d6de229e8ada7616db76fd9ba83775e9
tree4a38fb900fbced35eab34809744fb2de26a494c2
parent7a387bed47f7e80e257d966cd64a3e92a63e26a1
libbpf: auto-generate list of BPF helper definitions

Get rid of list of BPF helpers in bpf_helpers.h (irony...) and
auto-generate it into bpf_helpers_defs.h, which is now included from
bpf_helpers.h.

Suggested-by: Alexei Starovoitov <ast@fb.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/.gitignore
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/bpf_helpers.h