Package-level declarations

Types

Link copied to clipboard
sealed external interface CreateTracingOptions
Link copied to clipboard
sealed external interface Tracing

The Tracing object is used to enable or disable tracing for sets of categories. Instances are created using the trace_events.createTracing() method.

Functions

Link copied to clipboard

Creates and returns a Tracing object for the given set of categories.

Link copied to clipboard
external fun getEnabledCategories(): String?

Returns a comma-separated list of all currently-enabled trace event categories. The current set of enabled trace event categories is determined by the union of all currently-enabled Tracing objects and any categories enabled using the --trace-event-categories flag.