| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
#pragma once |
| 3 |
|
| 4 |
/* The SPDX header above is actually correct in claiming this was |
| 5 |
* LGPL-2.1-or-later, because it is. Since the kernel doesn't consider that |
| 6 |
* compatible with GPL we will claim this to be GPL however, which should be |
| 7 |
* fine given that LGPL-2.1-or-later downgrades to GPL if needed. |
| 8 |
*/ |
| 9 |
|
| 10 |
#include "bpf-util.h" /* IWYU pragma: keep */ |
| 11 |
|
| 12 |
/* libbpf is used via dlopen(), so rename symbols */ |
| 13 |
#define bpf_object__attach_skeleton sym_bpf_object__attach_skeleton |
| 14 |
#define bpf_object__destroy_skeleton sym_bpf_object__destroy_skeleton |
| 15 |
#define bpf_object__detach_skeleton sym_bpf_object__detach_skeleton |
| 16 |
#define bpf_object__load_skeleton sym_bpf_object__load_skeleton |
| 17 |
#define bpf_object__open_skeleton sym_bpf_object__open_skeleton |
| 18 |
|
| 19 |
#include "@[email protected]" /* IWYU pragma: export */ |