Home
last modified time | relevance | path

Searched refs:DataSourceInstance (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/tracing/core/
Dtracing_service_impl.h70 struct DataSourceInstance;
213 const DataSourceInstance&);
334 struct DataSourceInstance { struct
335 DataSourceInstance(DataSourceInstanceID id, in DataSourceInstance() argument
348 DataSourceInstance(const DataSourceInstance&) = delete;
349 DataSourceInstance& operator=(const DataSourceInstance&) = delete; argument
427 DataSourceInstance* GetDataSourceInstance( in GetDataSourceInstance()
444 return x.second.state == DataSourceInstance::STARTED; in AllDataSourceInstancesStarted()
452 return x.second.state == DataSourceInstance::STOPPED; in AllDataSourceInstancesStopped()
488 std::multimap<ProducerID, DataSourceInstance> data_source_instances;
[all …]
Dtracing_service_impl.cc1033 DataSourceInstance* ds_inst = SetupDataSource( in ChangeTraceConfig()
1154 DataSourceInstance& data_source = kv.second; in StartTracing()
1170 TracingServiceImpl::DataSourceInstance* instance) { in StartDataSourceInstance()
1171 PERFETTO_DCHECK(instance->state == DataSourceInstance::CONFIGURED); in StartDataSourceInstance()
1173 instance->state = DataSourceInstance::STARTING; in StartDataSourceInstance()
1175 instance->state = DataSourceInstance::STARTED; in StartDataSourceInstance()
1184 if (instance->state == DataSourceInstance::STARTED) in StartDataSourceInstance()
1239 DataSourceInstance& instance = data_source_inst.second; in DisableTracing()
1242 PERFETTO_DCHECK(instance.state == DataSourceInstance::CONFIGURED || in DisableTracing()
1243 instance.state == DataSourceInstance::STARTING || in DisableTracing()
[all …]
Dtracing_service_impl_unittest.cc102 TracingServiceImpl::DataSourceInstance::DataSourceInstanceState;