class TraceConfig
Defined at line 2004 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/natural_types.h
Provides options for the trace.
Public Methods
void TraceConfig (Storage_ storage)
void TraceConfig ()
Defined at line 2009 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/natural_types.h
void TraceConfig (TraceConfig && )
Defined at line 2010 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/natural_types.h
void TraceConfig (const TraceConfig & other)
TraceConfig & operator= (TraceConfig && )
Defined at line 2011 of file fidling/gen/sdk/fidl/fuchsia.tracing.controller/fuchsia.tracing.controller/cpp/fidl/fuchsia.tracing.controller/cpp/natural_types.h
TraceConfig & operator= (const TraceConfig & other)
bool operator== (const TraceConfig & other)
bool operator!= (const TraceConfig & other)
bool IsEmpty ()
const std::optional< ::std::vector< ::std::string>> & categories ()
The trace categories to record. Prefix wildcards, such as 'kernel:*' and
'*' are supported.
::std::optional< ::std::vector< ::std::string>> & categories ()
The trace categories to record. Prefix wildcards, such as 'kernel:*' and
'*' are supported.
TraceConfig & categories (std::optional< ::std::vector< ::std::string>> value)
The trace categories to record. Prefix wildcards, such as 'kernel:*' and
'*' are supported.
const std::optional<uint32_t> & buffer_size_megabytes_hint ()
Suggested size of trace buffer which each provider should receive.
::std::optional<uint32_t> & buffer_size_megabytes_hint ()
Suggested size of trace buffer which each provider should receive.
TraceConfig & buffer_size_megabytes_hint (std::optional<uint32_t> value)
Suggested size of trace buffer which each provider should receive.
const std::optional<uint64_t> & start_timeout_milliseconds ()
Acknowledge start request after at most `start_timeout_milliseconds`.
::std::optional<uint64_t> & start_timeout_milliseconds ()
Acknowledge start request after at most `start_timeout_milliseconds`.
TraceConfig & start_timeout_milliseconds (std::optional<uint64_t> value)
Acknowledge start request after at most `start_timeout_milliseconds`.
const std::optional< ::fuchsia_tracing::BufferingMode> & buffering_mode ()
::std::optional< ::fuchsia_tracing::BufferingMode> & buffering_mode ()
TraceConfig & buffering_mode (std::optional< ::fuchsia_tracing::BufferingMode> value)
Setter for buffering_mode.
const std::optional< ::std::vector< ::fuchsia_tracing_controller::ProviderSpec>> & provider_specs ()
Overrides for particular providers.
::std::optional< ::std::vector< ::fuchsia_tracing_controller::ProviderSpec>> & provider_specs ()
Overrides for particular providers.
TraceConfig & provider_specs (std::optional< ::std::vector< ::fuchsia_tracing_controller::ProviderSpec>> value)
Overrides for particular providers.
const std::optional< ::fuchsia_tracing_controller::FxtVersion> & version ()
Maximum trace format version supported byt the client.
If not set, this defaults to the latest available trace format version.
::std::optional< ::fuchsia_tracing_controller::FxtVersion> & version ()
Maximum trace format version supported byt the client.
If not set, this defaults to the latest available trace format version.
TraceConfig & version (std::optional< ::fuchsia_tracing_controller::FxtVersion> value)
Maximum trace format version supported byt the client.
If not set, this defaults to the latest available trace format version.
const std::optional<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.
::std::optional<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.
TraceConfig & defer_transfer (std::optional<bool> value)
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.
void TraceConfig (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits