aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/llvm-c-helpers.cpp
diff options
context:
space:
mode:
authorSteinar H. Gunderson <sesse@google.com>2024-08-03 17:20:07 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-09-03 10:15:55 -0300
commit6eca7c5ac23effd552d6f03acc5ce0efc1ed1c1e (patch)
tree99fc185a3d912df5c8de8397725cb2e4262e21eb /tools/perf/util/llvm-c-helpers.cpp
parentc3f8644c21df9b7db97eb70e08e2826368aaafa0 (diff)
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>
Diffstat (limited to 'tools/perf/util/llvm-c-helpers.cpp')
0 files changed, 0 insertions, 0 deletions