Home
last modified time | relevance | path

Searched refs:DataSourceState (Results 1 – 12 of 12) sorted by relevance

/external/perfetto/include/perfetto/tracing/internal/
Ddata_source_internal.h48 struct DataSourceState { struct
112 alignas(DataSourceState) char storage[sizeof(DataSourceState)]{}; argument
130 DataSourceState* TryGetCached(uint32_t cached_bitmap, size_t n) { in TryGetCached()
132 ? reinterpret_cast<DataSourceState*>(&instances[n]) in TryGetCached()
136 DataSourceState* TryGet(size_t n) { in TryGet()
Dtracing_muxer.h74 DataSourceState*,
/external/perfetto/src/profiling/perf/
Dunwinding.cc57 auto it_and_inserted = data_sources_.emplace(ds_id, DataSourceState{}); in StartDataSource()
105 DataSourceState& ds = it->second; in AdoptProcDescriptors()
133 DataSourceState& ds = it->second; in RecordTimedOutProcDescriptors()
164 const DataSourceState& ds = id_and_ds.second; in ProcessQueue()
166 if (ds.status == DataSourceState::Status::kActive) in ProcessQueue()
224 DataSourceState& ds = it->second; in ConsumeAndUnwindReadySamples()
463 DataSourceState& ds = it->second; in InitiateDataSourceStop()
465 PERFETTO_CHECK(ds.status == DataSourceState::Status::kActive); in InitiateDataSourceStop()
466 ds.status = DataSourceState::Status::kShuttingDown; in InitiateDataSourceStop()
481 DataSourceState& ds = it->second; in FinishDataSourceStop()
[all …]
Dperf_producer.h122 struct DataSourceState { struct
125 DataSourceState(EventConfig _event_config, in DataSourceState() argument
173 DataSourceState* ds);
204 void InitiateReaderStop(DataSourceState* ds);
247 std::map<DataSourceInstanceID, DataSourceState> data_sources_;
Dperf_producer.cc310 std::map<DataSourceInstanceID, DataSourceState>::iterator ds_it; in StartDataSource()
317 DataSourceState& ds = ds_it->second; in StartDataSource()
410 DataSourceState& ds = ds_it->second; in StopDataSource()
452 DataSourceState& ds = ds_it->second; in ClearIncrementalState()
481 DataSourceState& ds = it->second; in TickDataSourceRead()
497 if (PERFETTO_UNLIKELY(ds.status == DataSourceState::Status::kShuttingDown) && in TickDataSourceRead()
516 DataSourceState* ds) { in ReadAndParsePerCpuBuffer()
634 DataSourceState& ds = it.second; in OnProcDescriptors()
705 DataSourceState& ds = ds_it->second; in EvaluateDescriptorLookupTimeout()
744 DataSourceState& ds = ds_it->second; in EmitSample()
[all …]
Dunwinding.h140 struct DataSourceState { struct
241 std::map<DataSourceInstanceID, DataSourceState> data_sources_;
/external/perfetto/src/tracing/internal/
Dtracing_muxer_impl.h108 DataSourceState*,
389 FindDataSourceRes(DataSourceStaticState* a, DataSourceState* b, uint32_t c) in FindDataSourceRes()
394 DataSourceState* internal_state = nullptr;
Dtracing_muxer_fake.cc63 DataSourceState*, in CreateTraceWriter() argument
Dtracing_muxer_fake.h60 DataSourceState*,
Dtracing_muxer_impl.cc781 static_assert(sizeof(static_state->instances[0]) >= sizeof(DataSourceState), in RegisterDataSource()
784 new (&static_state->instances[i]) DataSourceState{}; in RegisterDataSource()
861 reinterpret_cast<DataSourceState*>(&static_state.instances[i]); in SetupDataSource()
881 reinterpret_cast<DataSourceState*>(&static_state.instances[i]); in SetupDataSource()
1132 DataSourceState* ds_state = static_state->TryGet(inst); in DestroyStoppedTraceWritersForCurrentThread()
1508 DataSourceState* data_source, in CreateTraceWriter()
/external/perfetto/include/perfetto/tracing/
Ddata_source.h351 internal::DataSourceState* instance_state =
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc270 perfetto::internal::DataSourceState*, in CreateTraceWriter() argument