]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf unwind: Provide only forward declarations for pointer types
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 16:28:30 +0000 (13:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 20 Apr 2017 16:22:43 +0000 (13:22 -0300)
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>
tools/perf/util/unwind.h

index 61fb1e90ff5166c6c1f50f8446650cf302aa610d..bfbdcc6198c9d85c09f9859866ac7974e8dd61c7 100644 (file)
@@ -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;