aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/test_libbpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/bpf/test_libbpf.c')
-rw-r--r--tools/lib/bpf/test_libbpf.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/lib/bpf/test_libbpf.c b/tools/lib/bpf/test_libbpf.c
deleted file mode 100644
index f0eb2727b766..000000000000
--- a/tools/lib/bpf/test_libbpf.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */
-#include "libbpf.h"
-#include "bpf.h"
-#include "btf.h"
-
-/* do nothing, just make sure we can link successfully */
-
-int main(int argc, char *argv[])
-{
- /* libbpf.h */
- libbpf_set_print(NULL);
-
- /* bpf.h */
- bpf_prog_get_fd_by_id(0);
-
- /* btf.h */
- btf__new(NULL, 0);
-
- return 0;
-}