perf hist: Remove symbol.h from hist.h, just fwd decls are needed

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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 2f2ae234
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "util/annotate.h" #include "util/annotate.h"
#include "util/evsel.h" #include "util/evsel.h"
#include "util/map.h" #include "util/map.h"
#include "util/symbol.h"
#include "ui/helpline.h" #include "ui/helpline.h"
#include <inttypes.h> #include <inttypes.h>
#include <signal.h> #include <signal.h>
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include "pmu.h" #include "pmu.h"
#include "evsel.h" #include "evsel.h"
#include "cpumap.h" #include "cpumap.h"
#include "symbol.h"
#include "thread_map.h" #include "thread_map.h"
#include "asm/bug.h" #include "asm/bug.h"
#include "auxtrace.h" #include "auxtrace.h"
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "map.h" #include "map.h"
#include "callchain.h" #include "callchain.h"
#include "branch.h" #include "branch.h"
#include "symbol.h"
#define CALLCHAIN_PARAM_DEFAULT \ #define CALLCHAIN_PARAM_DEFAULT \
.mode = CHAIN_GRAPH_ABS, \ .mode = CHAIN_GRAPH_ABS, \
......
...@@ -8,12 +8,13 @@ ...@@ -8,12 +8,13 @@
#include "evsel.h" #include "evsel.h"
#include "header.h" #include "header.h"
#include "color.h" #include "color.h"
#include "symbol.h"
#include "ui/progress.h" #include "ui/progress.h"
struct hist_entry; struct hist_entry;
struct hist_entry_ops; struct hist_entry_ops;
struct addr_location; struct addr_location;
struct mem_info;
struct branch_info;
struct symbol; struct symbol;
enum hist_filter { enum hist_filter {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment