David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ |
2 | #include "libbpf.h" | ||||
3 | #include "bpf.h" | ||||
4 | #include "btf.h" | ||||
5 | |||||
6 | /* do nothing, just make sure we can link successfully */ | ||||
7 | |||||
8 | int main(int argc, char *argv[]) | ||||
9 | { | ||||
10 | /* libbpf.h */ | ||||
11 | libbpf_set_print(NULL); | ||||
12 | |||||
13 | /* bpf.h */ | ||||
14 | bpf_prog_get_fd_by_id(0); | ||||
15 | |||||
16 | /* btf.h */ | ||||
17 | btf__new(NULL, 0); | ||||
18 | } |