summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2017-04-20 02:34:35 +0200
committerArnaldo Carvalho de Melo2017-04-24 18:43:35 +0200
commite7ff8920e62f0188e77b1dc5dc5d9a7322c342d7 (patch)
tree92046f32304382568f4cbcea11629bdc0e3242d7 /tools/perf/util/session.c
parentperf tools: Add the right header to obtain PERF_ALIGN() (diff)
downloadkernel-qcow2-linux-e7ff8920e62f0188e77b1dc5dc5d9a7322c342d7.tar.gz
kernel-qcow2-linux-e7ff8920e62f0188e77b1dc5dc5d9a7322c342d7.tar.xz
kernel-qcow2-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/util/session.c')
-rw-r--r--tools/perf/util/session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 19d993f2a305..3041c6b98191 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util/session.c
@@ -19,6 +19,7 @@
#include "perf_regs.h"
#include "asm/bug.h"
#include "auxtrace.h"
+#include "thread.h"
#include "thread-stack.h"
#include "stat.h"