diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 12:28:30 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-20 12:22:43 -0400 |
commit | 3dfed9102694227aa763b9984c50d72de796d39b (patch) | |
tree | 862c09ff1e1b67e71342af6dfa7f5f00840a3394 /tools/perf | |
parent | 07590a7d4030c159b9a0d7171f81049a9ce23245 (diff) |
perf unwind: Provide only forward declarations for pointer types
No need to drag the headers, helps in untangling them and reducing build
time.
Link: http://lkml.kernel.org/n/tip-l8soqph92duyw5jdha0fij8b@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/unwind.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/perf/util/unwind.h b/tools/perf/util/unwind.h index 61fb1e90ff51..bfbdcc6198c9 100644 --- a/tools/perf/util/unwind.h +++ b/tools/perf/util/unwind.h | |||
@@ -1,10 +1,13 @@ | |||
1 | #ifndef __UNWIND_H | 1 | #ifndef __UNWIND_H |
2 | #define __UNWIND_H | 2 | #define __UNWIND_H |
3 | 3 | ||
4 | #include <linux/compiler.h> | ||
4 | #include <linux/types.h> | 5 | #include <linux/types.h> |
5 | #include "event.h" | 6 | |
6 | #include "symbol.h" | 7 | struct map; |
7 | #include "thread.h" | 8 | struct perf_sample; |
9 | struct symbol; | ||
10 | struct thread; | ||
8 | 11 | ||
9 | struct unwind_entry { | 12 | struct unwind_entry { |
10 | struct map *map; | 13 | struct map *map; |