]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf annotate: Split out read_symbol()
authorSteinar H. Gunderson <sesse@google.com>
Sat, 3 Aug 2024 15:20:07 +0000 (17:20 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Sep 2024 13:15:55 +0000 (10:15 -0300)
commit6eca7c5ac23effd552d6f03acc5ce0efc1ed1c1e
tree99fc185a3d912df5c8de8397725cb2e4262e21eb
parentc3f8644c21df9b7db97eb70e08e2826368aaafa0
perf annotate: Split out read_symbol()

The Capstone disassembler code has a useful code snippet to read the
bytes for a given code symbol into memory. Split it out into its own
function, so that the LLVM disassembler can use it in the next patch.

Signed-off-by: Steinar H. Gunderson <sesse@google.com>
Cc: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20240803152008.2818485-2-sesse@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/disasm.c