magic-trace
Collects and displays high-resolution traces of what a process is doing
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library magic-trace.magic_trace
This is the default symbol that the magic-trace command will attach to and use to take a snapshot. Use it if you want to take a snapshot based on custom logic, and it will save you the step of selecting the symbol you want to stop on.
It's an external C function that does nothing and should be very fast to call. It's only a C function to ensure it has a stable and exact symbol.
Passes an integer along that will show up in the resulting trace
val take_snapshot_with_time_and_arg : Time_stamp_counter.t -> int -> unit
Passes both the start tsc for the operation and an argument.
module Min_duration : sig ... end
Intended for use like so:
module Private : sig ... end
Internal details about how to interact with the snapshot function from outside