summaryrefslogtreecommitdiff
path: root/tools/perf/util/perf-hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/perf-hooks.c')
-rw-r--r--tools/perf/util/perf-hooks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/perf-hooks.c b/tools/perf/util/perf-hooks.c
index cb368306b12b..d55092964da2 100644
--- a/tools/perf/util/perf-hooks.c
+++ b/tools/perf/util/perf-hooks.c
@@ -9,6 +9,7 @@
#include <stdlib.h>
#include <setjmp.h>
#include <linux/err.h>
+#include <linux/kernel.h>
#include "util/util.h"
#include "util/debug.h"
#include "util/perf-hooks.h"