aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/examples/bpf/empty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/examples/bpf/empty.c')
-rw-r--r--tools/perf/examples/bpf/empty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/examples/bpf/empty.c b/tools/perf/examples/bpf/empty.c
new file mode 100644
index 000000000000..78754df53ac1
--- /dev/null
+++ b/tools/perf/examples/bpf/empty.c
@@ -0,0 +1,2 @@
+char _license[] __attribute__((section("license"), used)) = "GPL";
+int _version __attribute__((section("version"), used)) = LINUX_VERSION_CODE;