aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2019-09-18 13:10:43 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-09-20 12:19:22 +0000
commit3f79132a47035dd4609cc5f47715331dfafaa1fa (patch)
tree50f6c8ae380b12858f5b0254ee755db7b56a69e9 /tools/perf/builtin-annotate.c
parentperf hist: Add missing 'struct branch_stack' forward declaration (diff)
downloadkernel-3f79132a47035dd4609cc5f47715331dfafaa1fa.tar.gz
kernel-3f79132a47035dd4609cc5f47715331dfafaa1fa.zip
perf annotate: Add missing machine.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-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 4e4d2e76232e..553c651fa0a2 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -27,6 +27,7 @@
#include "util/sort.h"
#include "util/hist.h"
#include "util/dso.h"
+#include "util/machine.h"
#include "util/map.h"
#include "util/session.h"
#include "util/tool.h"