summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/symbol.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-08-30 10:26:37 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-08-31 22:24:05 -0300
commitb1d1b094f7570a13dd7c9b995209baacc8aa6273 (patch)
tree4ccaebd946d7843bb7bd7a7d59f95b5ec0c9471f /tools/perf/util/symbol.c
parentc38fa94d188234f40fe3911b1a7650e056ef42ea (diff)
downloadlinux-stable-b1d1b094f7570a13dd7c9b995209baacc8aa6273.tar.gz
linux-stable-b1d1b094f7570a13dd7c9b995209baacc8aa6273.tar.bz2
linux-stable-b1d1b094f7570a13dd7c9b995209baacc8aa6273.zip
perf symbols: Move symsrc prototypes to a separate header
So that we can remove dso.h from symbol.h and reduce the header dependency tree. Fixup cases where struct dso guts are needed but were obtained via symbol.h, indirectly. 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-ip683cegt306ncu3gsz7ii21@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r--tools/perf/util/symbol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
index b11a69681662..e5ffe61ad66b 100644
--- a/tools/perf/util/symbol.c
+++ b/tools/perf/util/symbol.c
@@ -25,6 +25,7 @@
#include "machine.h"
#include "map.h"
#include "symbol.h"
+#include "symsrc.h"
#include "strlist.h"
#include "intlist.h"
#include "namespaces.h"