summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/intel-bts.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-28 00:03:34 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-02-06 14:00:38 +0100
commitdaecf9e0fa8e1bb3b227fcc15c4070caccbbb14f (patch)
tree30f8fcb8d6ddd52aff97e607390f672d335576d9 /tools/perf/util/intel-bts.c
parentperf hist: Remove symbol.h from hist.h, just fwd decls are needed (diff)
downloadlinux-daecf9e0fa8e1bb3b227fcc15c4070caccbbb14f.tar.xz
linux-daecf9e0fa8e1bb3b227fcc15c4070caccbbb14f.zip
perf tools: Add missing include for symbols.h
Several places were using definitions found in symbols.h but not including it, getting it by sheer luck from some other headers that now are in the process of removing that include because they don't need it or because simply having struct forward declarations is enough, 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-xbcvvx296d70kpg9wb0qmeq9@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/intel-bts.c')
-rw-r--r--tools/perf/util/intel-bts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/intel-bts.c b/tools/perf/util/intel-bts.c
index f7fe8ccf6d65..f99ac0cbe3ff 100644
--- a/tools/perf/util/intel-bts.c
+++ b/tools/perf/util/intel-bts.c
@@ -28,6 +28,7 @@
#include "evlist.h"
#include "machine.h"
#include "map.h"
+#include "symbol.h"
#include "session.h"
#include "util.h"
#include "thread.h"