]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf hist: Remove symbol.h from hist.h, just fwd decls are needed
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 27 Jan 2019 13:10:31 +0000 (14:10 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:38 +0000 (10:00 -0300)
To reduce the includes dependencies.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-cmvg5ght75mmfg1efeyna9rn@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/gtk/annotate.c
tools/perf/util/auxtrace.c
tools/perf/util/callchain.c
tools/perf/util/hist.h

index f42666ee0672a1faea5bfcc5988e8f1bad7389a1..df49c9ba178571acd4960efbbfe8800ebe8ef47f 100644 (file)
@@ -5,6 +5,7 @@
 #include "util/annotate.h"
 #include "util/evsel.h"
 #include "util/map.h"
+#include "util/symbol.h"
 #include "ui/helpline.h"
 #include <inttypes.h>
 #include <signal.h>
index f69961c4a4f34a3bb943d5f1e4d320d0c037265f..94a22cc8004c035be80558b54613f301b4febbc4 100644 (file)
@@ -41,6 +41,7 @@
 #include "pmu.h"
 #include "evsel.h"
 #include "cpumap.h"
+#include "symbol.h"
 #include "thread_map.h"
 #include "asm/bug.h"
 #include "auxtrace.h"
index cc47dba973f2199479b859ab9630222b1e92d4a3..abb608b092698eed6f3b3661d89bb487997d2fe2 100644 (file)
@@ -26,6 +26,7 @@
 #include "map.h"
 #include "callchain.h"
 #include "branch.h"
+#include "symbol.h"
 
 #define CALLCHAIN_PARAM_DEFAULT                        \
        .mode           = CHAIN_GRAPH_ABS,      \
index f50aad24928e7e837956c491064718452a28304c..38a72eb81427f27805c7521018a49a18bc657fb3 100644 (file)
@@ -8,12 +8,13 @@
 #include "evsel.h"
 #include "header.h"
 #include "color.h"
-#include "symbol.h"
 #include "ui/progress.h"
 
 struct hist_entry;
 struct hist_entry_ops;
 struct addr_location;
+struct mem_info;
+struct branch_info;
 struct symbol;
 
 enum hist_filter {