class TraceOptions
Defined at line 372 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
Covers how a trace will be run when invoking `StartRecording`.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_tracing_controller::wire::TraceOptions> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_tracing_controller::wire::TraceOptions> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_tracing_controller::wire::TraceOptions>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void TraceOptions ()
Defined at line 374 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
void TraceOptions (const TraceOptions & other)
Defined at line 375 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
TraceOptions & operator= (const TraceOptions & other)
Defined at line 376 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
void TraceOptions (TraceOptions && other)
Defined at line 377 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
int64_t & duration_ns ()
Determines how long a trace recording will run before terminating in
nanoseconds. This is an "at-least" duration, with the actual
runtime terminating likely a few dozen milliseconds longer.
If this is not set, a trace will run indefinitely and must be stopped
using `StopRecording`. Or by cleanly shutting down the daemon via
`ffx daemon stop` or by using the Deamon proxy itself.
bool has_duration_ns ()
TraceOptions & operator= (TraceOptions && other)
Defined at line 378 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
::fidl::VectorView< ::fuchsia_tracing_controller::wire::Trigger> & triggers ()
The triggers to run against this trace.
bool has_triggers ()
::fidl::VectorView< ::fidl::StringView> & requested_categories ()
The requested categories for the trace. These could include
groups, or nothing. These categories are expanded and the expanded
list is in the TraceConfig. This list is used to support the nice UX of
explicitly checking for events with these categories and warn the
user if the no events were captured for any of these categories.
bool has_requested_categories ()
void ~TraceOptions ()
Defined at line 380 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder