summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 18:28:30 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-20 18:22:43 +0200
commit3dfed9102694227aa763b9984c50d72de796d39b (patch)
tree862c09ff1e1b67e71342af6dfa7f5f00840a3394
parentMerge tag 'perf-core-for-mingo-4.12-20170419' of git://git.kernel.org/pub/scm... (diff)
downloadlinux-3dfed9102694227aa763b9984c50d72de796d39b.tar.xz
linux-3dfed9102694227aa763b9984c50d72de796d39b.zip
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>
-rw-r--r--tools/perf/util/unwind.h9
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 @@
#ifndef __UNWIND_H
#define __UNWIND_H
+#include <linux/compiler.h>
#include <linux/types.h>
-#include "event.h"
-#include "symbol.h"
-#include "thread.h"
+
+struct map;
+struct perf_sample;
+struct symbol;
+struct thread;
struct unwind_entry {
struct map *map;