package memtrace

  1. Overview
  2. Docs

Reading traces

type t
val create : Unix.file_descr -> t
val info : t -> Info.t
val lookup_location_code : t -> Location_code.t -> Location.t list
val iter : t -> ?parse_backtraces:bool -> (Timedelta.t -> Event.t -> unit) -> unit

Iterate over a trace

val open_ : filename:string -> t

Convenience functions for accessing traces stored in files

val size_bytes : t -> int64
val close : t -> unit
OCaml

Innovation. Community. Security.