diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-20 02:34:35 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 18:43:35 +0200 |
commit | e7ff8920e62f0188e77b1dc5dc5d9a7322c342d7 (patch) | |
tree | 92046f32304382568f4cbcea11629bdc0e3242d7 /tools/perf/util/session.h | |
parent | perf tools: Add the right header to obtain PERF_ALIGN() (diff) | |
download | linux-e7ff8920e62f0188e77b1dc5dc5d9a7322c342d7.tar.xz 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.h')
-rw-r--r-- | tools/perf/util/session.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/session.h b/tools/perf/util/session.h index 1ffae42f76a1..47b5e7dbcb18 100644 --- a/tools/perf/util/session.h +++ b/tools/perf/util/session.h @@ -5,8 +5,6 @@ #include "event.h" #include "header.h" #include "machine.h" -#include "symbol.h" -#include "thread.h" #include "data.h" #include "ordered-events.h" #include <linux/kernel.h> @@ -14,6 +12,7 @@ #include <linux/perf_event.h> struct ip_callchain; +struct symbol; struct thread; struct auxtrace; |