class TraceConfig
Defined at line 2248 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
Provides options for the trace.
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::TraceConfig> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_tracing_controller::wire::TraceConfig> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_tracing_controller::wire::TraceConfig>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void TraceConfig ()
Defined at line 2250 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
void TraceConfig (const TraceConfig & other)
Defined at line 2251 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
void TraceConfig (TraceConfig && other)
Defined at line 2253 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
::fidl::VectorView< ::fidl::StringView> & categories ()
The trace categories to record. Prefix wildcards, such as 'kernel:*' and
'*' are supported.
bool has_categories ()
uint32_t & buffer_size_megabytes_hint ()
Suggested size of trace buffer which each provider should receive.
bool has_buffer_size_megabytes_hint ()
TraceConfig & operator= (const TraceConfig & other)
Defined at line 2252 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
TraceConfig & operator= (TraceConfig && other)
Defined at line 2254 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/wire_types.h
uint64_t & start_timeout_milliseconds ()
Acknowledge start request after at most `start_timeout_milliseconds`.
bool has_start_timeout_milliseconds ()
::fuchsia_tracing::wire::BufferingMode & buffering_mode ()
bool has_buffering_mode ()
::fidl::VectorView< ::fuchsia_tracing_controller::wire::ProviderSpec> & provider_specs ()
Overrides for particular providers.
bool has_provider_specs ()
::fuchsia_tracing_controller::wire::FxtVersion & version ()
Maximum trace format version supported byt the client.
If not set, this defaults to the latest available trace format version.
bool has_version ()
bool & defer_transfer ()
When true, the session will buffer the trace within the
fuchsia.tracing.controller server and only send the trace over the
output socket to the client once the trace completes.
It is recommended that defering the trace transfer be set to true when
using streaming mode and the fuchsia.tracing.controller client is across
the host-device boundary, such as with ffx. In this, or other cases
where sending the trace data could cause exess cpu overhead, the disk
writing cost is preferrable to the cost of sending to the client.
NOTE: defer_transfer only has effect during BufferingMode.STREAMING as
other modes don't otherwise send trace data to the client during a
trace.
bool has_defer_transfer ()
void ~TraceConfig ()
Defined at line 2256 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