package memtrace

  1. Overview
  2. Docs

Module Trace.ReaderSource

Reading traces

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

Iterate over a trace

Sourceval open_ : filename:string -> t

Convenience functions for accessing traces stored in files

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

Innovation. Community. Security.