perf symbols: Move symsrc prototypes to a separate header
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Aug 2019 13:26:37 +0000 (10:26 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 1 Sep 2019 01:24:05 +0000 (22:24 -0300)
commitb1d1b094f7570a13dd7c9b995209baacc8aa6273
tree4ccaebd946d7843bb7bd7a7d59f95b5ec0c9471f
parentc38fa94d188234f40fe3911b1a7650e056ef42ea
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>
tools/perf/arch/powerpc/util/sym-handling.c
tools/perf/builtin-probe.c
tools/perf/ui/browsers/map.c
tools/perf/ui/gtk/annotate.c
tools/perf/util/symbol-elf.c
tools/perf/util/symbol-minimal.c
tools/perf/util/symbol.c
tools/perf/util/symbol.h
tools/perf/util/symbol_fprintf.c
tools/perf/util/symsrc.h [new file with mode: 0644]