Module perfetto_trace_client

Module perfetto_trace_client 

Source
Expand description

Fetch cpu traces and transform them into perfetto format

Enums§

SpanTypes
Span types to include in the trace

Functions§

format_perfetto_trace
Formats a Perfetto trace with configurable span types using server-side perfetto_trace_chunks function.
format_perfetto_trace_stream
Streams Perfetto trace chunks as they arrive from the server.
write_perfetto_trace
Writes a Perfetto trace to a file with configurable span types.