summaryrefslogtreecommitdiff
path: root/tools/perf/include
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/include')
-rw-r--r--tools/perf/include/bpf/bpf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/include/bpf/bpf.h b/tools/perf/include/bpf/bpf.h
new file mode 100644
index 000000000000..003afcab4e51
--- /dev/null
+++ b/tools/perf/include/bpf/bpf.h
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef _PERF_BPF_H
+#define _PERF_BPF_H
+#define SEC(NAME) __attribute__((section(NAME), used))
+#endif /* _PERF_BPF_H */