perf symbols: Remove include map.h from dso.h

Disentangling the dependency tree, to reduce build time.

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-n2gcrfmh480rm44p7fra13vv@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent e7a795d3
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include <linux/bitops.h> #include <linux/bitops.h>
#include "../../util/util.h" #include "../../util/util.h"
#include "../../util/debug.h" #include "../../util/debug.h"
#include "../../util/map.h"
#include "../../util/symbol.h" #include "../../util/symbol.h"
#include "../browser.h" #include "../browser.h"
#include "../helpline.h" #include "../helpline.h"
......
...@@ -7,12 +7,14 @@ ...@@ -7,12 +7,14 @@
#include <linux/rbtree.h> #include <linux/rbtree.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h>
#include "rwsem.h" #include "rwsem.h"
#include <linux/bitops.h> #include <linux/bitops.h>
#include "map.h"
#include "namespaces.h" #include "namespaces.h"
#include "build-id.h" #include "build-id.h"
struct map;
enum dso_binary_type { enum dso_binary_type {
DSO_BINARY_TYPE__KALLSYMS = 0, DSO_BINARY_TYPE__KALLSYMS = 0,
DSO_BINARY_TYPE__GUEST_KALLSYMS, DSO_BINARY_TYPE__GUEST_KALLSYMS,
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <inttypes.h> #include <inttypes.h>
#include <stdio.h> #include <stdio.h>
#include "map.h"
#include "symbol.h" #include "symbol.h"
size_t symbol__fprintf(struct symbol *sym, FILE *fp) size_t symbol__fprintf(struct symbol *sym, FILE *fp)
......
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