pl.wendigo.chrome.api.tracing

Package pl.wendigo.chrome.api.tracing

Contains DevTools Protocol Tracing domain implementation accessible via TracingOperations class.

Types

BufferUsageEvent

data class BufferUsageEvent : Event

DataCollectedEvent

data class DataCollectedEvent : Event

Contains an bucket of collected trace events. When tracing is stopped collected events will be send as a sequence of dataCollected events followed by tracingComplete event.

GetCategoriesResponse

data class GetCategoriesResponse

Represents response frame that is returned from Tracing#getCategories operation call. Gets supported tracing categories.

RecordClockSyncMarkerRequest

data class RecordClockSyncMarkerRequest

Represents request frame that can be used with Tracing#recordClockSyncMarker operation call.

RequestMemoryDumpRequest

data class RequestMemoryDumpRequest

Represents request frame that can be used with Tracing#requestMemoryDump operation call.

RequestMemoryDumpResponse

data class RequestMemoryDumpResponse

Represents response frame that is returned from Tracing#requestMemoryDump operation call. Request a global memory dump.

StartRequest

data class StartRequest

Represents request frame that can be used with Tracing#start operation call.

StreamCompression

enum class StreamCompression

Compression type to use for traces returned via streams.

StreamFormat

enum class 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.

TraceConfig

data class TraceConfig

TracingCompleteEvent

data class TracingCompleteEvent : Event

Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

TracingOperations

class TracingOperations

TracingOperations represents Tracing protocol domain request/response operations and events that can be captured.

Type Aliases

MemoryDumpConfig

typealias MemoryDumpConfig = Map<String, Any>

Configuration for memory dump. Used only when &quot;memory-infra&quot; category is enabled.