commit | 544402d4b49332a4a9b2b8fff20f9d9f5ef86559 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Fri Dec 13 17:43:29 2019 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Sun Dec 15 15:58:05 2019 -0800 |
tree | aea0437dbae1de2c6db8bc2bf4fd50ad6bc7a191 | |
parent | 917f6b7b07a46e53fa73e112d23c97d1b201a877 [diff] |
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