package mirage-profile-unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Trace processes on Unix, keeping the results in a file.

type log_buffer = (char, Stdlib.Bigarray.int8_unsigned_elt, Stdlib.Bigarray.c_layout) Stdlib.Bigarray.Array1.t
val timestamper : log_buffer -> int -> unit
val mmap_buffer : size:int -> string -> log_buffer

mmap_buffer ~size path is a trace buffer that is backed by the file at path (which is created if it doesn't already exist).

OCaml

Innovation. Community. Security.