class DataSourceConfig
Defined at line 53 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
Public Members
static const auto SESSION_INITIATOR_UNSPECIFIED
static const auto SESSION_INITIATOR_TRUSTED_SYSTEM
static const auto SessionInitiator_MIN
static const auto SessionInitiator_MAX
static const auto BUFFER_EXHAUSTED_UNSPECIFIED
static const auto BUFFER_EXHAUSTED_DROP
static const auto BUFFER_EXHAUSTED_STALL_THEN_ABORT
static const auto BUFFER_EXHAUSTED_STALL_THEN_DROP
static const auto BufferExhaustedPolicy_MIN
static const auto BufferExhaustedPolicy_MAX
Public Methods
void DataSourceConfig ()
void DataSourceConfig (DataSourceConfig && )
void DataSourceConfig (const DataSourceConfig & )
bool ParseFromArray (const void * , size_t )
std::string SerializeAsString ()
std::vector<uint8_t> SerializeAsArray ()
void Serialize (::protozero::Message * )
bool operator!= (const DataSourceConfig & other)
Defined at line 129 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_name ()
Defined at line 136 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & name ()
Defined at line 137 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_name (const std::string & value)
Defined at line 138 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_target_buffer ()
Defined at line 140 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
uint32_t target_buffer ()
Defined at line 141 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_target_buffer (uint32_t value)
Defined at line 142 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_target_buffer_name ()
Defined at line 144 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & target_buffer_name ()
Defined at line 145 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_target_buffer_name (const std::string & value)
Defined at line 146 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_trace_duration_ms ()
Defined at line 148 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
uint32_t trace_duration_ms ()
Defined at line 149 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_trace_duration_ms (uint32_t value)
Defined at line 150 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_prefer_suspend_clock_for_duration ()
Defined at line 152 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool prefer_suspend_clock_for_duration ()
Defined at line 153 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_prefer_suspend_clock_for_duration (bool value)
Defined at line 154 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_stop_timeout_ms ()
Defined at line 156 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
uint32_t stop_timeout_ms ()
Defined at line 157 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_stop_timeout_ms (uint32_t value)
Defined at line 158 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_enable_extra_guardrails ()
Defined at line 160 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool enable_extra_guardrails ()
Defined at line 161 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_enable_extra_guardrails (bool value)
Defined at line 162 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_session_initiator ()
Defined at line 164 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
DataSourceConfig_SessionInitiator session_initiator ()
Defined at line 165 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_session_initiator (DataSourceConfig_SessionInitiator value)
Defined at line 166 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_tracing_session_id ()
Defined at line 168 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
uint64_t tracing_session_id ()
Defined at line 169 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_tracing_session_id (uint64_t value)
Defined at line 170 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_buffer_exhausted_policy ()
Defined at line 172 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
DataSourceConfig_BufferExhaustedPolicy buffer_exhausted_policy ()
Defined at line 173 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_buffer_exhausted_policy (DataSourceConfig_BufferExhaustedPolicy value)
Defined at line 174 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_priority_boost ()
Defined at line 176 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const PriorityBoostConfig & priority_boost ()
Defined at line 177 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
PriorityBoostConfig * mutable_priority_boost ()
Defined at line 178 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & ftrace_config_raw ()
Defined at line 180 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_ftrace_config_raw (const std::string & raw)
Defined at line 181 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & inode_file_config_raw ()
Defined at line 183 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_inode_file_config_raw (const std::string & raw)
Defined at line 184 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & process_stats_config_raw ()
Defined at line 186 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_process_stats_config_raw (const std::string & raw)
Defined at line 187 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & sys_stats_config_raw ()
Defined at line 189 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_sys_stats_config_raw (const std::string & raw)
Defined at line 190 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & heapprofd_config_raw ()
Defined at line 192 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_heapprofd_config_raw (const std::string & raw)
Defined at line 193 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & java_hprof_config_raw ()
Defined at line 195 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_java_hprof_config_raw (const std::string & raw)
Defined at line 196 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & android_power_config_raw ()
Defined at line 198 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_android_power_config_raw (const std::string & raw)
Defined at line 199 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & android_log_config_raw ()
Defined at line 201 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_android_log_config_raw (const std::string & raw)
Defined at line 202 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & gpu_counter_config_raw ()
Defined at line 204 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_gpu_counter_config_raw (const std::string & raw)
Defined at line 205 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & android_game_intervention_list_config_raw ()
Defined at line 207 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
DataSourceConfig & operator= (DataSourceConfig && )
DataSourceConfig & operator= (const DataSourceConfig & )
bool operator== (const DataSourceConfig & )
void set_android_game_intervention_list_config_raw (const std::string & raw)
Defined at line 208 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & packages_list_config_raw ()
Defined at line 210 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_packages_list_config_raw (const std::string & raw)
Defined at line 211 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & perf_event_config_raw ()
Defined at line 213 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_perf_event_config_raw (const std::string & raw)
Defined at line 214 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & vulkan_memory_config_raw ()
Defined at line 216 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_vulkan_memory_config_raw (const std::string & raw)
Defined at line 217 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & track_event_config_raw ()
Defined at line 219 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_track_event_config_raw (const std::string & raw)
Defined at line 220 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & android_polled_state_config_raw ()
Defined at line 222 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_android_polled_state_config_raw (const std::string & raw)
Defined at line 223 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & android_system_property_config_raw ()
Defined at line 225 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_android_system_property_config_raw (const std::string & raw)
Defined at line 226 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & statsd_tracing_config_raw ()
Defined at line 228 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_statsd_tracing_config_raw (const std::string & raw)
Defined at line 229 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_system_info_config ()
Defined at line 231 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const SystemInfoConfig & system_info_config ()
Defined at line 232 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
SystemInfoConfig * mutable_system_info_config ()
Defined at line 233 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & frozen_ftrace_config_raw ()
Defined at line 235 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_frozen_ftrace_config_raw (const std::string & raw)
Defined at line 236 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_chrome_config ()
Defined at line 238 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const ChromeConfig & chrome_config ()
Defined at line 239 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
ChromeConfig * mutable_chrome_config ()
Defined at line 240 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & v8_config_raw ()
Defined at line 242 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_v8_config_raw (const std::string & raw)
Defined at line 243 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_interceptor_config ()
Defined at line 245 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const InterceptorConfig & interceptor_config ()
Defined at line 246 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
InterceptorConfig * mutable_interceptor_config ()
Defined at line 247 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & network_packet_trace_config_raw ()
Defined at line 249 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_network_packet_trace_config_raw (const std::string & raw)
Defined at line 250 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & surfaceflinger_layers_config_raw ()
Defined at line 252 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_surfaceflinger_layers_config_raw (const std::string & raw)
Defined at line 253 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & surfaceflinger_transactions_config_raw ()
Defined at line 255 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_surfaceflinger_transactions_config_raw (const std::string & raw)
Defined at line 256 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & android_sdk_sysprop_guard_config_raw ()
Defined at line 258 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_android_sdk_sysprop_guard_config_raw (const std::string & raw)
Defined at line 259 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & etw_config_raw ()
Defined at line 261 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_etw_config_raw (const std::string & raw)
Defined at line 262 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & protolog_config_raw ()
Defined at line 264 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_protolog_config_raw (const std::string & raw)
Defined at line 265 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & android_input_event_config_raw ()
Defined at line 267 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_android_input_event_config_raw (const std::string & raw)
Defined at line 268 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & pixel_modem_config_raw ()
Defined at line 270 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_pixel_modem_config_raw (const std::string & raw)
Defined at line 271 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & windowmanager_config_raw ()
Defined at line 273 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_windowmanager_config_raw (const std::string & raw)
Defined at line 274 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & chromium_system_metrics_raw ()
Defined at line 276 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_chromium_system_metrics_raw (const std::string & raw)
Defined at line 277 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & kernel_wakelocks_config_raw ()
Defined at line 279 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_kernel_wakelocks_config_raw (const std::string & raw)
Defined at line 280 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & gpu_renderstages_config_raw ()
Defined at line 282 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_gpu_renderstages_config_raw (const std::string & raw)
Defined at line 283 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & chromium_histogram_samples_raw ()
Defined at line 285 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_chromium_histogram_samples_raw (const std::string & raw)
Defined at line 286 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & app_wakelocks_config_raw ()
Defined at line 288 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_app_wakelocks_config_raw (const std::string & raw)
Defined at line 289 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & cpu_per_uid_config_raw ()
Defined at line 291 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_cpu_per_uid_config_raw (const std::string & raw)
Defined at line 292 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & user_list_config_raw ()
Defined at line 294 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_user_list_config_raw (const std::string & raw)
Defined at line 295 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & inputmethod_config_raw ()
Defined at line 297 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_inputmethod_config_raw (const std::string & raw)
Defined at line 298 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_legacy_config ()
Defined at line 300 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const std::string & legacy_config ()
Defined at line 301 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void set_legacy_config (const std::string & value)
Defined at line 302 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
bool has_for_testing ()
Defined at line 304 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
const TestConfig & for_testing ()
Defined at line 305 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
TestConfig * mutable_for_testing ()
Defined at line 306 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h
void ~DataSourceConfig ()
Enumerations
enum FieldNumbers
| Name | Value |
|---|---|
| kNameFieldNumber | 1 |
| kTargetBufferFieldNumber | 2 |
| kTargetBufferNameFieldNumber | 11 |
| kTraceDurationMsFieldNumber | 3 |
| kPreferSuspendClockForDurationFieldNumber | 122 |
| kStopTimeoutMsFieldNumber | 7 |
| kEnableExtraGuardrailsFieldNumber | 6 |
| kSessionInitiatorFieldNumber | 8 |
| kTracingSessionIdFieldNumber | 4 |
| kBufferExhaustedPolicyFieldNumber | 9 |
| kPriorityBoostFieldNumber | 10 |
| kFtraceConfigFieldNumber | 100 |
| kInodeFileConfigFieldNumber | 102 |
| kProcessStatsConfigFieldNumber | 103 |
| kSysStatsConfigFieldNumber | 104 |
| kHeapprofdConfigFieldNumber | 105 |
| kJavaHprofConfigFieldNumber | 110 |
| kAndroidPowerConfigFieldNumber | 106 |
| kAndroidLogConfigFieldNumber | 107 |
| kGpuCounterConfigFieldNumber | 108 |
| kAndroidGameInterventionListConfigFieldNumber | 116 |
| kPackagesListConfigFieldNumber | 109 |
| kPerfEventConfigFieldNumber | 111 |
| kVulkanMemoryConfigFieldNumber | 112 |
| kTrackEventConfigFieldNumber | 113 |
| kAndroidPolledStateConfigFieldNumber | 114 |
| kAndroidSystemPropertyConfigFieldNumber | 118 |
| kStatsdTracingConfigFieldNumber | 117 |
| kSystemInfoConfigFieldNumber | 119 |
| kFrozenFtraceConfigFieldNumber | 136 |
| kChromeConfigFieldNumber | 101 |
| kV8ConfigFieldNumber | 127 |
| kInterceptorConfigFieldNumber | 115 |
| kNetworkPacketTraceConfigFieldNumber | 120 |
| kSurfaceflingerLayersConfigFieldNumber | 121 |
| kSurfaceflingerTransactionsConfigFieldNumber | 123 |
| kAndroidSdkSyspropGuardConfigFieldNumber | 124 |
| kEtwConfigFieldNumber | 125 |
| kProtologConfigFieldNumber | 126 |
| kAndroidInputEventConfigFieldNumber | 128 |
| kPixelModemConfigFieldNumber | 129 |
| kWindowmanagerConfigFieldNumber | 130 |
| kChromiumSystemMetricsFieldNumber | 131 |
| kKernelWakelocksConfigFieldNumber | 132 |
| kGpuRenderstagesConfigFieldNumber | 133 |
| kChromiumHistogramSamplesFieldNumber | 134 |
| kAppWakelocksConfigFieldNumber | 135 |
| kCpuPerUidConfigFieldNumber | 137 |
| kUserListConfigFieldNumber | 138 |
| kInputmethodConfigFieldNumber | 139 |
| kLegacyConfigFieldNumber | 1000 |
| kForTestingFieldNumber | 1001 |
Defined at line 67 of file gen/third_party/perfetto/protos/perfetto/config/data_source_config.gen.h