aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/dso.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-22 11:10:59 -0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-01-25 15:12:09 +0100
commitd328e305ea1fe78f569a4ea2cacca7fa5beec06e (patch)
tree90bd5bdb5faa7e9300ed8f63ed7c26a839ed813d /tools/perf/util/dso.h
parentperf block-range: Add missing headers (diff)
downloadlinux-dev-d328e305ea1fe78f569a4ea2cacca7fa5beec06e.tar.xz
linux-dev-d328e305ea1fe78f569a4ea2cacca7fa5beec06e.zip
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.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/dso.h')
-rw-r--r--tools/perf/util/dso.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/util/dso.h b/tools/perf/util/dso.h
index af2eda29660f..56001b82d448 100644
--- a/tools/perf/util/dso.h
+++ b/tools/perf/util/dso.h
@@ -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,