template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 467 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
Public Methods
::fuchsia_tracing_controller::wire::TraceOptions Build ()
Build and return the table. The builder should not be used after this.
bool has_duration_ns ()
void clear_duration_ns ()
Clears the duration_ns field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
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.
BuilderImpl & duration_ns (Wrapper_Ignore_Me_< ::fidl::ObjectView<int64_t>> elem)
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_triggers ()
void clear_triggers ()
Clears the triggers field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fidl::VectorView< ::fuchsia_tracing_controller::wire::Trigger> & triggers ()
The triggers to run against this trace.
BuilderImpl & triggers (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fuchsia_tracing_controller::wire::Trigger>>> elem)
The triggers to run against this trace.
bool has_requested_categories ()
void clear_requested_categories ()
Clears the requested_categories field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::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.
BuilderImpl & requested_categories (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fidl::VectorView< ::fidl::StringView>>> elem)
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.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_tracing_controller::wire::TraceOptions, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_tracing_controller::wire::TraceOptions>> && frame)