package tracing

  1. Overview
  2. Docs

Module Trace.ArgSource

Named arguments of various simple types can be attached to events and will show up in the bottom details panel when an event is selected in Perfetto.

Sourcetype value =
  1. | Interned of string
    (*

    use for strings which can be interned into a limited pool

    *)
  2. | String of string
    (*

    use for strings with a large number of unique values

    *)
  3. | Int of int
  4. | Int64 of int64
  5. | Pointer of Core.Int64.Hex.t
  6. | Float of float
    (*

    written as a double-precision float

    *)
Sourceval sexp_of_value : value -> Sexplib0.Sexp.t
Sourcetype t = string * value

Each argument has a name, the names are interned

Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
OCaml

Innovation. Community. Security.