package memtrace-mirage

  1. Overview
  2. Docs

Use Memprof_tracer in conjunction with Trace.Writer for more manual control over trace collection

type t
val start : ?report_exn:(exn -> unit) -> sampling_rate:float -> Trace.Writer.t -> t
val stop : t -> unit
val active_tracer : unit -> t option
type ext_token
val ext_alloc : bytes:int -> ext_token option
val ext_free : ext_token -> unit
OCaml

Innovation. Community. Security.