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/api/debug.h | |
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
Diffstat (limited to 'tools/lib/api/debug.h')
0 files changed, 0 insertions, 0 deletions