package magic-trace
Collects and displays high-resolution traces of what a process is doing
Install
Dune Dependency
Authors
Maintainers
Sources
v1.0.1.tar.gz
sha256=77b2e4b3bc769910656d0fdee4839250548aa49486fd3554f6c057f1d64abe99
sha512=1f111db6348673c22a110611182a92c8aa999668dc077c44bc4abcaa72ccb197899ff2577047888627b50fcc9890824de6c82b4fe9f06129190b8b487ec3f716
doc/src/magic-trace.magic_trace_core/symbol.ml.html
Source file symbol.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
open! Core type t = | From_perf of string | From_perf_map of Perf_map_location.t | Unknown | Untraced | Returned | Syscall [@@deriving sexp, compare] let display_name = function | Unknown -> "[unknown]" | Untraced -> "[untraced]" | Returned -> "[returned]" | Syscall -> "[syscall]" | From_perf name -> name | From_perf_map { function_; _ } -> function_ ;; let demangle_elf_name name = if String.is_prefix name ~prefix:"caml_" then name else Owee_location.demangled_symbol name ;; let demangle t = match t with | Unknown | Untraced | Returned | Syscall | From_perf_map _ -> (* CR-someday cgaebel: Demangle java + other managed runtime names. *) t | From_perf name -> From_perf (demangle_elf_name name) ;;
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>