class TraceConfig
Defined at line 120 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
Public Members
static const auto LOCKDOWN_UNCHANGED
static const auto LOCKDOWN_CLEAR
static const auto LOCKDOWN_SET
static const auto LockdownModeOperation_MIN
static const auto LockdownModeOperation_MAX
static const auto COMPRESSION_TYPE_UNSPECIFIED
static const auto COMPRESSION_TYPE_DEFLATE
static const auto CompressionType_MIN
static const auto CompressionType_MAX
static const auto STATSD_LOGGING_UNSPECIFIED
static const auto STATSD_LOGGING_ENABLED
static const auto STATSD_LOGGING_DISABLED
static const auto StatsdLogging_MIN
static const auto StatsdLogging_MAX
static const auto WRITE_FLUSH_UNSPECIFIED
static const auto WRITE_FLUSH_AUTO
static const auto WRITE_FLUSH_DISABLED
static const auto WRITE_FLUSH_ENABLED
static const auto WriteFlushMode_MIN
static const auto WriteFlushMode_MAX
static const auto FFLUSH_UNSPECIFIED
static const auto FFLUSH_DISABLED
static const auto FFLUSH_ENABLED
static const auto FFlushMode_MIN
static const auto FFlushMode_MAX
Public Methods
void TraceConfig ()
void TraceConfig (TraceConfig && )
void TraceConfig (const TraceConfig & )
bool ParseFromArray (const void * , size_t )
std::string SerializeAsString ()
std::vector<uint8_t> SerializeAsArray ()
void Serialize (::protozero::Message * )
const TraceConfig_BuiltinDataSource & builtin_data_sources ()
Defined at line 235 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void clear_buffers ()
TraceConfig_BufferConfig * add_buffers ()
int data_sources_size ()
void clear_data_sources ()
TraceConfig_DataSource * add_data_sources ()
const std::vector<TraceConfig_BufferConfig> & buffers ()
Defined at line 222 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
int buffers_size ()
void clear_producers ()
TraceConfig_ProducerConfig * add_producers ()
void clear_session_semaphores ()
TraceConfig_SessionSemaphore * add_session_semaphores ()
bool operator!= (const TraceConfig & other)
Defined at line 215 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
std::vector<TraceConfig_BufferConfig> * mutable_buffers ()
Defined at line 223 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const std::vector<TraceConfig_DataSource> & data_sources ()
Defined at line 228 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
std::vector<TraceConfig_DataSource> * mutable_data_sources ()
Defined at line 229 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_builtin_data_sources ()
Defined at line 234 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_BuiltinDataSource * mutable_builtin_data_sources ()
Defined at line 236 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_duration_ms ()
Defined at line 238 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
uint32_t duration_ms ()
Defined at line 239 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_duration_ms (uint32_t value)
Defined at line 240 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_prefer_suspend_clock_for_duration ()
Defined at line 242 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool prefer_suspend_clock_for_duration ()
Defined at line 243 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_prefer_suspend_clock_for_duration (bool value)
Defined at line 244 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_enable_extra_guardrails ()
Defined at line 246 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool enable_extra_guardrails ()
Defined at line 247 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_enable_extra_guardrails (bool value)
Defined at line 248 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_lockdown_mode ()
Defined at line 250 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_LockdownModeOperation lockdown_mode ()
Defined at line 251 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_lockdown_mode (TraceConfig_LockdownModeOperation value)
Defined at line 252 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const std::vector<TraceConfig_ProducerConfig> & producers ()
Defined at line 254 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
std::vector<TraceConfig_ProducerConfig> * mutable_producers ()
Defined at line 255 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_statsd_metadata ()
Defined at line 260 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const TraceConfig_StatsdMetadata & statsd_metadata ()
Defined at line 261 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_StatsdMetadata * mutable_statsd_metadata ()
Defined at line 262 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_write_into_file ()
Defined at line 264 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool write_into_file ()
Defined at line 265 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_write_into_file (bool value)
Defined at line 266 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_output_path ()
Defined at line 268 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const std::string & output_path ()
Defined at line 269 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_output_path (const std::string & value)
Defined at line 270 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_file_write_period_ms ()
Defined at line 272 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
uint32_t file_write_period_ms ()
Defined at line 273 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_file_write_period_ms (uint32_t value)
Defined at line 274 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_max_file_size_bytes ()
Defined at line 276 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
uint64_t max_file_size_bytes ()
Defined at line 277 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_max_file_size_bytes (uint64_t value)
Defined at line 278 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_guardrail_overrides ()
Defined at line 280 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const TraceConfig_GuardrailOverrides & guardrail_overrides ()
Defined at line 281 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_GuardrailOverrides * mutable_guardrail_overrides ()
Defined at line 282 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_deferred_start ()
Defined at line 284 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool deferred_start ()
Defined at line 285 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_deferred_start (bool value)
Defined at line 286 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_flush_period_ms ()
Defined at line 288 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
uint32_t flush_period_ms ()
Defined at line 289 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_flush_period_ms (uint32_t value)
Defined at line 290 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_flush_timeout_ms ()
Defined at line 292 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
uint32_t flush_timeout_ms ()
Defined at line 293 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_flush_timeout_ms (uint32_t value)
Defined at line 294 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_data_source_stop_timeout_ms ()
Defined at line 296 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
uint32_t data_source_stop_timeout_ms ()
Defined at line 297 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_data_source_stop_timeout_ms (uint32_t value)
Defined at line 298 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_notify_traceur ()
Defined at line 300 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool notify_traceur ()
Defined at line 301 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_bugreport_score ()
Defined at line 304 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
int32_t bugreport_score ()
Defined at line 305 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_bugreport_filename ()
Defined at line 308 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const std::string & bugreport_filename ()
Defined at line 309 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_trigger_config ()
Defined at line 312 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_TriggerConfig * mutable_trigger_config ()
Defined at line 314 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const std::vector<std::string> & activate_triggers ()
Defined at line 316 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
std::vector<std::string> * mutable_activate_triggers ()
Defined at line 317 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
int activate_triggers_size ()
Defined at line 318 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void clear_activate_triggers ()
Defined at line 319 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void add_activate_triggers (std::string value)
Defined at line 320 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
std::string * add_activate_triggers ()
Defined at line 321 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_incremental_state_config ()
Defined at line 323 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const TraceConfig_IncrementalStateConfig & incremental_state_config ()
Defined at line 324 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_IncrementalStateConfig * mutable_incremental_state_config ()
Defined at line 325 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_allow_user_build_tracing ()
Defined at line 327 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool allow_user_build_tracing ()
Defined at line 328 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_unique_session_name ()
Defined at line 331 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_compression_type ()
Defined at line 335 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_CompressionType compression_type ()
Defined at line 336 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_incident_report_config ()
Defined at line 339 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const TraceConfig_IncidentReportConfig & incident_report_config ()
Defined at line 340 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_IncidentReportConfig * mutable_incident_report_config ()
Defined at line 341 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_statsd_logging ()
Defined at line 343 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig & operator= (TraceConfig && )
TraceConfig & operator= (const TraceConfig & )
bool operator== (const TraceConfig & )
int producers_size ()
int session_semaphores_size ()
void set_notify_traceur (bool value)
Defined at line 302 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_bugreport_score (int32_t value)
Defined at line 306 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_bugreport_filename (const std::string & value)
Defined at line 310 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const TraceConfig_TriggerConfig & trigger_config ()
Defined at line 313 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_allow_user_build_tracing (bool value)
Defined at line 329 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const std::string & unique_session_name ()
Defined at line 332 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_unique_session_name (const std::string & value)
Defined at line 333 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_compression_type (TraceConfig_CompressionType value)
Defined at line 337 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_StatsdLogging statsd_logging ()
Defined at line 344 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_statsd_logging (TraceConfig_StatsdLogging value)
Defined at line 345 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_trace_uuid_msb ()
Defined at line 347 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
int64_t trace_uuid_msb ()
Defined at line 348 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_trace_uuid_msb (int64_t value)
Defined at line 349 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_trace_uuid_lsb ()
Defined at line 351 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
int64_t trace_uuid_lsb ()
Defined at line 352 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_trace_uuid_lsb (int64_t value)
Defined at line 353 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_trace_filter ()
Defined at line 355 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const TraceConfig_TraceFilter & trace_filter ()
Defined at line 356 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_TraceFilter * mutable_trace_filter ()
Defined at line 357 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_android_report_config ()
Defined at line 359 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const TraceConfig_AndroidReportConfig & android_report_config ()
Defined at line 360 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_AndroidReportConfig * mutable_android_report_config ()
Defined at line 361 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_cmd_trace_start_delay ()
Defined at line 363 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const TraceConfig_CmdTraceStartDelay & cmd_trace_start_delay ()
Defined at line 364 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_CmdTraceStartDelay * mutable_cmd_trace_start_delay ()
Defined at line 365 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const std::vector<TraceConfig_SessionSemaphore> & session_semaphores ()
Defined at line 367 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
std::vector<TraceConfig_SessionSemaphore> * mutable_session_semaphores ()
Defined at line 368 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_priority_boost ()
Defined at line 373 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
const PriorityBoostConfig & priority_boost ()
Defined at line 374 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
PriorityBoostConfig * mutable_priority_boost ()
Defined at line 375 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_exclusive_prio ()
Defined at line 377 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
uint32_t exclusive_prio ()
Defined at line 378 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_exclusive_prio (uint32_t value)
Defined at line 379 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_write_flush_mode ()
Defined at line 381 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_WriteFlushMode write_flush_mode ()
Defined at line 382 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_write_flush_mode (TraceConfig_WriteFlushMode value)
Defined at line 383 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_fflush_post_write ()
Defined at line 385 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
TraceConfig_FFlushMode fflush_post_write ()
Defined at line 386 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_fflush_post_write (TraceConfig_FFlushMode value)
Defined at line 387 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool has_trace_all_machines ()
Defined at line 389 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
bool trace_all_machines ()
Defined at line 390 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void set_trace_all_machines (bool value)
Defined at line 391 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h
void ~TraceConfig ()
Enumerations
enum FieldNumbers
| Name | Value |
|---|---|
| kBuffersFieldNumber | 1 |
| kDataSourcesFieldNumber | 2 |
| kBuiltinDataSourcesFieldNumber | 20 |
| kDurationMsFieldNumber | 3 |
| kPreferSuspendClockForDurationFieldNumber | 36 |
| kEnableExtraGuardrailsFieldNumber | 4 |
| kLockdownModeFieldNumber | 5 |
| kProducersFieldNumber | 6 |
| kStatsdMetadataFieldNumber | 7 |
| kWriteIntoFileFieldNumber | 8 |
| kOutputPathFieldNumber | 29 |
| kFileWritePeriodMsFieldNumber | 9 |
| kMaxFileSizeBytesFieldNumber | 10 |
| kGuardrailOverridesFieldNumber | 11 |
| kDeferredStartFieldNumber | 12 |
| kFlushPeriodMsFieldNumber | 13 |
| kFlushTimeoutMsFieldNumber | 14 |
| kDataSourceStopTimeoutMsFieldNumber | 23 |
| kNotifyTraceurFieldNumber | 16 |
| kBugreportScoreFieldNumber | 30 |
| kBugreportFilenameFieldNumber | 38 |
| kTriggerConfigFieldNumber | 17 |
| kActivateTriggersFieldNumber | 18 |
| kIncrementalStateConfigFieldNumber | 21 |
| kAllowUserBuildTracingFieldNumber | 19 |
| kUniqueSessionNameFieldNumber | 22 |
| kCompressionTypeFieldNumber | 24 |
| kIncidentReportConfigFieldNumber | 25 |
| kStatsdLoggingFieldNumber | 31 |
| kTraceUuidMsbFieldNumber | 27 |
| kTraceUuidLsbFieldNumber | 28 |
| kTraceFilterFieldNumber | 33 |
| kAndroidReportConfigFieldNumber | 34 |
| kCmdTraceStartDelayFieldNumber | 35 |
| kSessionSemaphoresFieldNumber | 39 |
| kPriorityBoostFieldNumber | 40 |
| kExclusivePrioFieldNumber | 41 |
| kWriteFlushModeFieldNumber | 44 |
| kFflushPostWriteFieldNumber | 45 |
| kTraceAllMachinesFieldNumber | 43 |
Defined at line 165 of file gen/third_party/perfetto/protos/perfetto/config/trace_config.gen.h