From: Arnaldo Carvalho de Melo <acme@redhat.com>
Hi,
While trying to see source code in the 'perf annotate' output I
noticed that for some reason this is done nowadays only with the
'objdump' method, and that there was no way to specify which of the
included methods should be tried first, this patch series is an attempt
at addressing that.
After it is processed I plan to add 'perf test' entries to
compare the output of the disassemblers, to help in detecting
regressions or problems with the libraries those methods use.
It is available at:
https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf-disasm-selectable
https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/log/?h=perf-disasm-selectable
- Arnaldo
Arnaldo Carvalho de Melo (3):
perf disasm: Introduce symbol__disassemble_objdump()
perf disasm: Define stubs for the LLVM and capstone disassemblers
perf disasm: Allow configuring what disassemblers to use
tools/perf/Documentation/perf-config.txt | 13 ++
tools/perf/util/annotate.c | 6 +
tools/perf/util/annotate.h | 6 +
tools/perf/util/disasm.c | 261 ++++++++++++++++-------
4 files changed, 204 insertions(+), 82 deletions(-)
--
2.47.0