Trace_event.Event
module Sub = Trace_subscriber
type t =
| E_tick
| E_init of {
}
| E_shutdown of {
}
| E_message of {
tid : int;
msg : string;
time_ns : int64;
data : (string * Sub.user_data) list;
}
| E_define_span of {
tid : int;
name : string;
time_ns : int64;
id : Trace_core.span;
fun_name : string option;
data : (string * Sub.user_data) list;
}
| E_exit_span of {
id : Trace_core.span;
time_ns : int64;
}
| E_add_data of {
id : Trace_core.span;
data : (string * Sub.user_data) list;
}
| E_enter_manual_span of {
tid : int;
name : string;
time_ns : int64;
id : Trace_core.trace_id;
flavor : Sub.flavor option;
fun_name : string option;
data : (string * Sub.user_data) list;
}
| E_exit_manual_span of {
tid : int;
name : string;
time_ns : int64;
flavor : Sub.flavor option;
data : (string * Sub.user_data) list;
id : Trace_core.trace_id;
}
| E_counter of {
}
| E_name_process of {
}
| E_name_thread of {
}
| E_extension_event of {
tid : int;
time_ns : int64;
ext : Trace_core.extension_event;
}
An event with TEF/fuchsia semantics