diff options
| author | Fabian Hemmer <[email protected]> | 2021-02-03 21:15:37 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-02-17 18:15:06 +0000 |
| commit | cef7af25c9d3a7ea5d0c82424dc8bf93a95b6fc3 (patch) | |
| tree | c55d0626aaa0f3dfdf360a476599b64b73453032 /tools/perf/ui/browsers/annotate.c | |
| parent | tools api fs: Cache cgroupfs mount point (diff) | |
| download | kernel-cef7af25c9d3a7ea5d0c82424dc8bf93a95b6fc3.tar.gz kernel-cef7af25c9d3a7ea5d0c82424dc8bf93a95b6fc3.zip | |
perf tools: Add OCaml demangling
Detect symbols generated by the OCaml compiler based on their prefix.
Demangle OCaml symbols, returning a newly allocated string (like the
existing Java demangling functionality).
Move a helper function (hex) from tests/code-reading.c to util/string.c
To test:
echo 'Printf.printf "%d\n" (Random.int 42)' > test.ml
perf record ocamlopt.opt test.ml
perf report -d ocamlopt.opt
Signed-off-by: Fabian Hemmer <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LPU-Reference: 20210203211537.b25ytjb6dq5jfbwx@nyu
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions
