Skip to content

Selectable disassembler

Arnaldo Carvalho de Melo linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf disasm: Introduce symbol__disassemble_objdump()tools/perf/util/disasm.c+88 -802 replies
2/3perf disasm: Define stubs for the LLVM and capstone disassemblerstools/perf/util/disasm.c+32 -85 replies
3/3perf disasm: Allow configuring what disassemblers to usetools/perf/Documentation/perf-config.txt tools/perf/util/annotate.c tools/perf/util/annotate.h +1 more+96 -66 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchIan RogersAditya Bodkhe
1/3A-b
2/3A-b A-b T-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3 perf-tools-next] Selectable disassembler

From: Arnaldo Carvalho de Melo <[email protected]>

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(-)
Signature · 1 line
2.47.0