TraceConfig

@Serializable
data class TraceConfig(val recordMode: String? = null, val traceBufferSizeInKb: Double? = null, val enableSampling: Boolean? = null, val enableSystrace: Boolean? = null, val enableArgumentFilter: Boolean? = null, val includedCategories: List<String>? = null, val excludedCategories: List<String>? = null, val syntheticDelays: List<String>? = null, val memoryDumpConfig: Map<String, JsonElement>? = null)

Constructors

Link copied to clipboard
constructor(recordMode: String? = null, traceBufferSizeInKb: Double? = null, enableSampling: Boolean? = null, enableSystrace: Boolean? = null, enableArgumentFilter: Boolean? = null, includedCategories: List<String>? = null, excludedCategories: List<String>? = null, syntheticDelays: List<String>? = null, memoryDumpConfig: Map<String, JsonElement>? = null)

Properties

Link copied to clipboard

Turns on argument filter.

Link copied to clipboard
val enableSampling: Boolean? = null

Turns on JavaScript stack sampling.

Link copied to clipboard
val enableSystrace: Boolean? = null

Turns on system tracing.

Link copied to clipboard

Excluded category filters.

Link copied to clipboard

Included category filters.

Link copied to clipboard
val memoryDumpConfig: Map<String, JsonElement>? = null

Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.

Link copied to clipboard
val recordMode: String? = null

Controls how the trace buffer stores data. The default is recordUntilFull.

Link copied to clipboard

Configuration to synthesize the delays in tracing.

Link copied to clipboard

Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value of 200 MB would be used.