Module Trace_fuchsia.Writer

Write fuchsia events into buffers.

Reference: https://fuchsia.dev/fuchsia-src/reference/tracing/trace-format

module Util : sig ... end
type user_data = Trace_subscriber.user_data =
  1. | U_bool of bool
  2. | U_float of float
  3. | U_int of int
  4. | U_none
  5. | U_string of string
type arg =
  1. | A_bool of bool
  2. | A_float of float
  3. | A_int of int
  4. | A_none
  5. | A_string of string
  6. | A_kid of int64
val arg_of_user_data : user_data -> arg
val args_of_user_data : (string * user_data) list -> (string * arg) list
module I64 : sig ... end
module Str_ref : sig ... end
val truncate_string : string -> string

truncate_string s truncates s to the maximum length allowed for strings. If s is already short enough, no allocation is done.

module Thread_ref : sig ... end
module Metadata : sig ... end

record type = 0

module Argument : sig ... end
module Arguments : sig ... end
module Thread_record : sig ... end

record type = 3

module Event : sig ... end

record type = 4

module Kernel_object : sig ... end

record type = 7