package memtrace-mirage

  1. Overview
  2. Docs

Module Memtrace.MakeSource

Parameters

module F : Mirage_flow.S

Signature

Sourcetype tracer

Tracing can also be manually started and stopped.

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

Manually start tracing

Sourceval stop_tracing : tracer -> unit

Manually stop tracing

Sourceval default_sampling_rate : float
Sourcemodule Trace : sig ... end

Use the Trace module to read and write trace files

Sourcemodule Memprof_tracer : sig ... end

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

Sourcemodule External : sig ... end

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