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, Bigarray.int8_unsigned_elt, Bigarray.c_layout) 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.