class TraceOptions

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

Covers how a trace will be run when invoking `StartRecording`.

Public Methods

void TraceOptions (Storage_ storage)
void TraceOptions ()

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

void TraceOptions (TraceOptions && )

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

void TraceOptions (const TraceOptions & other)
TraceOptions & operator= (TraceOptions && )

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

TraceOptions & operator= (const TraceOptions & other)
bool operator== (const TraceOptions & other)
bool operator!= (const TraceOptions & other)
bool IsEmpty ()
const std::optional<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.

::std::optional<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.

TraceOptions & duration_ns (std::optional<int64_t> value)

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.

const std::optional< ::std::vector< ::fuchsia_tracing_controller::Trigger>> & triggers ()

The triggers to run against this trace.

::std::optional< ::std::vector< ::fuchsia_tracing_controller::Trigger>> & triggers ()

The triggers to run against this trace.

TraceOptions & triggers (std::optional< ::std::vector< ::fuchsia_tracing_controller::Trigger>> value)

The triggers to run against this trace.

const std::optional< ::std::vector< ::std::string>> & 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.

::std::optional< ::std::vector< ::std::string>> & 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.

TraceOptions & requested_categories (std::optional< ::std::vector< ::std::string>> value)

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.

void TraceOptions (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits