aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-c-helpers.cpp
diff options
context:
space:
mode:
authorSteinar H. Gunderson <[email protected]>2024-08-03 15:20:07 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-09-03 13:15:55 +0000
commit6eca7c5ac23effd552d6f03acc5ce0efc1ed1c1e (patch)
tree99fc185a3d912df5c8de8397725cb2e4262e21eb /tools/perf/util/llvm-c-helpers.cpp
parentperf report: Support LLVM for addr2line() (diff)
downloadkernel-6eca7c5ac23effd552d6f03acc5ce0efc1ed1c1e.tar.gz
kernel-6eca7c5ac23effd552d6f03acc5ce0efc1ed1c1e.zip
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 <[email protected]> Cc: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/llvm-c-helpers.cpp')
0 files changed, 0 insertions, 0 deletions