diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-18 10:11:20 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-09-20 09:19:22 -0300 |
commit | f12be047d981bb802d8cf78eb220db3ee97f0513 (patch) | |
tree | fe2db2503c53ca7ee897a61a4d73aaf1a626e0b1 /tools/perf | |
parent | 3f79132a47035dd4609cc5f47715331dfafaa1fa (diff) | |
download | linux-stable-f12be047d981bb802d8cf78eb220db3ee97f0513.tar.gz linux-stable-f12be047d981bb802d8cf78eb220db3ee97f0513.tar.bz2 linux-stable-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')
-rw-r--r-- | tools/perf/builtin-sched.c | 1 |
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> |