chromiumoxide::cdp::browser_protocol

Module tracing

Source

Structs§

EndParams
Stop trace events collection. end
EndReturns
Stop trace events collection. end
EventBufferUsage
EventDataCollected
Contains a bucket of collected trace events. When tracing is stopped collected events will be sent as a sequence of dataCollected events followed by tracingComplete event. dataCollected
EventTracingComplete
Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events. tracingComplete
GetCategoriesParams
Gets supported tracing categories. getCategories
GetCategoriesReturns
Gets supported tracing categories. getCategories
GetCategoriesReturnsBuilder
MemoryDumpConfig
Configuration for memory dump. Used only when “memory-infra” category is enabled. MemoryDumpConfig
RecordClockSyncMarkerParams
Record a clock sync marker in the trace. recordClockSyncMarker
RecordClockSyncMarkerParamsBuilder
RecordClockSyncMarkerReturns
Record a clock sync marker in the trace. recordClockSyncMarker
RequestMemoryDumpParams
Request a global memory dump. requestMemoryDump
RequestMemoryDumpParamsBuilder
RequestMemoryDumpReturns
Request a global memory dump. requestMemoryDump
RequestMemoryDumpReturnsBuilder
StartParams
Start trace events collection. start
StartParamsBuilder
StartReturns
Start trace events collection. start
TraceConfig
TraceConfigBuilder

Enums§

MemoryDumpLevelOfDetail
Details exposed when memory request explicitly declared. Keep consistent with memory_dump_request_args.h and memory_instrumentation.mojom
StartTransferMode
Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents).
StreamCompression
Compression type to use for traces returned via streams.
StreamFormat
Data format of a trace. Can be either the legacy JSON format or the protocol buffer format. Note that the JSON format will be deprecated soon.
TraceConfigRecordMode
Controls how the trace buffer stores data.
TracingBackend
Backend type to use for tracing. chrome uses the Chrome-integrated tracing service and is supported on all platforms. system is only supported on Chrome OS and uses the Perfetto system tracing service. auto chooses system when the perfettoConfig provided to Tracing.start specifies at least one non-Chrome data source; otherwise uses chrome.