diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-12-13 17:43:29 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-15 15:58:05 -0800 |
commit | 544402d4b49332a4a9b2b8fff20f9d9f5ef86559 (patch) | |
tree | aea0437dbae1de2c6db8bc2bf4fd50ad6bc7a191 /tools/lib/bpf/libbpf.map | |
parent | libbpf: Add BPF_EMBED_OBJ macro for embedding BPF .o files (diff) | |
download | linux-dev-544402d4b49332a4a9b2b8fff20f9d9f5ef86559.tar.xz linux-dev-544402d4b49332a4a9b2b8fff20f9d9f5ef86559.zip |
libbpf: Extract common user-facing helpers
LIBBPF_API and DECLARE_LIBBPF_OPTS are needed in many public libbpf API
headers. Extract them into libbpf_common.h to avoid unnecessary
interdependency between btf.h, libbpf.h, and bpf.h or code duplication.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191214014341.3442258-6-andriin@fb.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions