class Session

Defined at line 26 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/markers.h

The session interface used by the trace tool to start/stop/terminate a trace Session.

The trace Session may lightly validate the structure of

trace records as it copies them from trace buffers into the output.

In particular, it may verify the size of each record header to ensure

that the framing of trace records in the data stream is maintained.

The trace Session does not validate the contents of the trace records

themselves. For example, it does not try to check argument lengths in

events. This ensures that the trace format can be extended without needing

to modify the trace Session.

The trace Session must be initialized from the provisioner. It can then be

used to start/stop tracing as many times as needed. Dropping the Session

will terminate tracing.

Public Members

static Openness kOpenness

Records