Expand description
FFI bridge: Definitions of functions and types that are shared across the C++ boundary.
Structs§
- The native C++ class that is safe to be passed across the C++/Rust boundary via a
unique_ptr
.
Functions§
- Create a new tracing session using the provided Protobuf-encoded TraceConfig.
- Initialize the global tracing infrastructure.
- Get the id of the clock that is used by
trace_time_ns
. - Get the current trace time according to Perfetto’s managed monotonic clock(s).
- Create a track descriptor for a process.
- Create a track descriptor for a thread.
- Create a trace event signifying that an instant event has happened, similar to a log message or something else that takes ~zero time.
- Create a trace event signifying that a new slice (aka span) begins.
- Create a trace event signifying that a slice (aka span) ends.