package memtrace-mirage

  1. Overview
  2. Docs

Parameters

module F : Mirage_flow.S

Signature

type tracer

Tracing can also be manually started and stopped.

val start_tracing : context:string option -> ?sampling_rate:float -> F.flow -> tracer

Manually start tracing

val stop_tracing : tracer -> unit

Manually stop tracing

val default_sampling_rate : float
module Trace : sig ... end

Use the Trace module to read and write trace files

module Memprof_tracer : sig ... end

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

module External : sig ... end

Use External to track non-GC-heap allocations in a Memtrace trace

OCaml

Innovation. Community. Security.