aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/builtin-mem.c
diff options
context:
space:
mode:
authorGravatar Arnaldo Carvalho de Melo <acme@redhat.com> 2017-04-19 21:34:35 -0300
committerGravatar Arnaldo Carvalho de Melo <acme@redhat.com> 2017-04-24 13:43:35 -0300
commite7ff8920e62f0188e77b1dc5dc5d9a7322c342d7 (patch)
tree92046f32304382568f4cbcea11629bdc0e3242d7 /tools/perf/builtin-mem.c
parentperf tools: Add the right header to obtain PERF_ALIGN() (diff)
downloadlinux-e7ff8920e62f0188e77b1dc5dc5d9a7322c342d7.tar.gz
linux-e7ff8920e62f0188e77b1dc5dc5d9a7322c342d7.tar.bz2
linux-e7ff8920e62f0188e77b1dc5dc5d9a7322c342d7.zip
perf tools: Use just forward declarations for struct thread where possible
Removing various instances of unnecessary includes, reducing the maze of header dependencies. Link: http://lkml.kernel.org/n/tip-hwu6eyuok9pc57alookyzmsf@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-mem.c')
-rw-r--r--tools/perf/builtin-mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-mem.c b/tools/perf/builtin-mem.c
index 2e5be1d63af6..e001c0290793 100644
--- a/tools/perf/builtin-mem.c
+++ b/tools/perf/builtin-mem.c
@@ -12,6 +12,7 @@
#include "util/data.h"
#include "util/mem-events.h"
#include "util/debug.h"
+#include "util/symbol.h"
#define MEM_OPERATION_LOAD 0x1
#define MEM_OPERATION_STORE 0x2