Module Webkit_trace_event_binary_output

This output is designed to be consumed by trace-tool in src/app/trace-tool. Some fields are ommitted for the different kinds of event, and inferred from the meta-events New_thread, Cycle_start, Cycle_end, Pid_is.

See the implementation in emit_event and the trace-tool source code for more details.

val emitk : buf:Core.Bigstring.t -> Webkit_trace_event.event_kind -> Base.int -> int
val emiti : buf:Core.Bigstring.t -> int -> Base.int -> int
val emits : buf:Core.Bigstring.t -> string -> int -> int
val finish : Async.Writer.t -> buf:Core.Bigstring.t -> int -> unit
val emit_event : Async.Writer.t -> buf:Core.Bigstring.t -> Webkit_trace_event.event -> unit