Structs§
- EndParams
- Stop trace events collection. end
- EndReturns
- Stop trace events collection. end
- Event
Buffer Usage - Event
Data Collected - 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
- Event
Tracing Complete - Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events. tracingComplete
- GetCategories
Params - Gets supported tracing categories. getCategories
- GetCategories
Returns - Gets supported tracing categories. getCategories
- GetCategories
Returns Builder - Memory
Dump Config - Configuration for memory dump. Used only when “memory-infra” category is enabled. MemoryDumpConfig
- Record
Clock Sync Marker Params - Record a clock sync marker in the trace. recordClockSyncMarker
- Record
Clock Sync Marker Params Builder - Record
Clock Sync Marker Returns - Record a clock sync marker in the trace. recordClockSyncMarker
- Request
Memory Dump Params - Request a global memory dump. requestMemoryDump
- Request
Memory Dump Params Builder - Request
Memory Dump Returns - Request a global memory dump. requestMemoryDump
- Request
Memory Dump Returns Builder - Start
Params - Start trace events collection. start
- Start
Params Builder - Start
Returns - Start trace events collection. start
- Trace
Config - Trace
Config Builder
Enums§
- Memory
Dump Level OfDetail - Details exposed when memory request explicitly declared. Keep consistent with memory_dump_request_args.h and memory_instrumentation.mojom
- Start
Transfer Mode - Whether to report trace events as series of dataCollected events or to save trace to a
stream (defaults to
ReportEvents
). - Stream
Compression - Compression type to use for traces returned via streams.
- Stream
Format - 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.
- Trace
Config Record Mode - Controls how the trace buffer stores data.
- Tracing
Backend - 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
choosessystem
when the perfettoConfig provided to Tracing.start specifies at least one non-Chrome data source; otherwise useschrome
.