package eio

  1. Overview
  2. Docs
type t
val make : timestamper:(log_buffer -> int -> unit) -> log_buffer -> t

make ~timestamper b is a trace buffer that record events in b. In most cases, the Ctf_unix module provides a simpler interface.

val start : t -> unit

start t begins recording events in t.

val stop : t -> unit

stop t stops recording to t (which must be the current trace buffer).

OCaml

Innovation. Community. Security.