Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1629925 > unrolled thread

[PATCH 01/22] perf unwind: Provide only forward declarations for pointer types

Started byArnaldo Carvalho de Melo <acme@kernel.org>
First post2017-04-24 22:00 +0200
Last post2017-04-24 22:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 01/22] perf unwind: Provide only forward declarations for pointer types Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-24 22:00 +0200

#1629925 — [PATCH 01/22] perf unwind: Provide only forward declarations for pointer types

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2017-04-24 22:00 +0200
Subject[PATCH 01/22] perf unwind: Provide only forward declarations for pointer types
Message-ID<tzSjo-2Lp-21@gated-at.bofh.it>
From: Arnaldo Carvalho de Melo <acme@redhat.com>

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 | 9 ++++++---
 1 file 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;
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web