summaryrefslogtreecommitdiffstats
path: root/tools/perf/include/bpf/bpf.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/include/bpf/bpf.h')
-rw-r--r--tools/perf/include/bpf/bpf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/include/bpf/bpf.h b/tools/perf/include/bpf/bpf.h
index dd764ad5efdf..a63aa6241b7f 100644
--- a/tools/perf/include/bpf/bpf.h
+++ b/tools/perf/include/bpf/bpf.h
@@ -1,6 +1,9 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef _PERF_BPF_H
#define _PERF_BPF_H
+
+#include <uapi/linux/bpf.h>
+
#define SEC(NAME) __attribute__((section(NAME), used))
#define probe(function, vars) \