perf symbols: Remove include map.h from dso.h
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: d328e305ea1fe78f569a4ea2cacca7fa5beec06e Gitweb: https://git.kernel.org/tip/d328e305ea1fe78f569a4ea2cacca7fa5beec06e Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 22 Jan 2019 11:10:59 -0200 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Fri, 25 Jan 2019 15:12:09 +0100
perf symbols: Remove include map.h from dso.h
Disentangling the dependency tree, to reduce build time.
Cc Adrian Hunter <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/ui/browsers/map.c | 1 + tools/perf/util/dso.h | 4 +++- tools/perf/util/symbol_fprintf.c | 1 + 3 files changed, 5 insertions(+), 1 deletion(-)
tools/perf/ui/browsers/map.c +1 -0
@@ -6,6 +6,7 @@#include <linux/bitops.h> #include "../../util/util.h" #include "../../util/debug.h" +#include "../../util/map.h" #include "../../util/symbol.h" #include "../browser.h" #include "../helpline.h"
tools/perf/util/dso.h +3 -1
@@ -7,12 +7,14 @@#include <linux/rbtree.h> #include <sys/types.h> #include <stdbool.h> +#include <stdio.h> #include "rwsem.h" #include <linux/bitops.h> -#include "map.h" #include "namespaces.h" #include "build-id.h" +struct map ; +enum dso_binary_type {DSO_BINARY_TYPE__KALLSYMS =0 ,DSO_BINARY_TYPE__GUEST_KALLSYMS ,
tools/perf/util/symbol_fprintf.c +1 -0
@@ -3,6 +3,7 @@#include <inttypes.h> #include <stdio.h> +#include "map.h" #include "symbol.h" size_t symbol__fprintf (struct symbol *sym,FILE *fp)