aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-09-18 13:11:20 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-09-20 12:19:22 +0000
commitf12be047d981bb802d8cf78eb220db3ee97f0513 (patch)
treefe2db2503c53ca7ee897a61a4d73aaf1a626e0b1 /tools/perf/builtin-sched.c
parentperf annotate: Add missing machine.h include directive (diff)
downloadkernel-f12be047d981bb802d8cf78eb220db3ee97f0513.tar.gz
kernel-f12be047d981bb802d8cf78eb220db3ee97f0513.zip
perf sched: Add missing event.h include directive
We use what is defined there, were getting it by luck, indirectly, fix it. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-sched.c')
-rw-r--r--tools/perf/builtin-sched.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c
index 511e19a7aafa..f0b828c201cc 100644
--- a/tools/perf/builtin-sched.c
+++ b/tools/perf/builtin-sched.c
@@ -24,6 +24,7 @@
#include "util/trace-event.h"
#include "util/debug.h"
+#include "util/event.h"
#include <linux/kernel.h>
#include <linux/log2.h>