summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-sched.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-09-18 15:11:20 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-09-20 14:19:22 +0200
commitf12be047d981bb802d8cf78eb220db3ee97f0513 (patch)
treefe2db2503c53ca7ee897a61a4d73aaf1a626e0b1 /tools/perf/builtin-sched.c
parentperf annotate: Add missing machine.h include directive (diff)
downloadlinux-f12be047d981bb802d8cf78eb220db3ee97f0513.tar.xz
linux-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 <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-e1cdt9557ctpvs3jb9c16qe6@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
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>