Home
last modified time | relevance | path

Searched refs:data_sources_ (Results 1 – 10 of 10) sorted by relevance

/external/perfetto/src/profiling/memory/
Dheapprofd_producer.cc291 if (data_sources_.empty()) { in ActiveDataSourceWatchdogCheck()
339 auto it = data_sources_.find(id); in SetupDataSource()
340 if (it != data_sources_.end()) { in SetupDataSource()
358 if (!data_sources_.empty()) { in SetupDataSource()
385 data_sources_.emplace(id, std::move(data_source)); in SetupDataSource()
393 for (const auto& pair : data_sources_) { in IsPidProfiled()
406 auto it = data_sources_.find(id); in StartDataSource()
407 if (it == data_sources_.end()) { in StartDataSource()
476 auto it = data_sources_.find(id); in StopDataSource()
477 if (it == data_sources_.end()) { in StopDataSource()
[all …]
Dheapprofd_producer.h254 std::map<DataSourceInstanceID, DataSource> data_sources_; variable
/external/perfetto/src/traced/probes/
Dprobes_producer.cc80 data_sources_.clear(); in ~ProbesProducer()
167 PERFETTO_DCHECK(data_sources_.count(instance_id) == 0); in SetupDataSource()
194 data_sources_[instance_id] = std::move(data_source); in SetupDataSource()
201 auto it = data_sources_.find(instance_id); in StartDataSource()
202 if (it == data_sources_.end()) { in StartDataSource()
315 auto it = data_sources_.find(id); in StopDataSource()
316 if (it == data_sources_.end()) { in StopDataSource()
330 data_sources_.erase(it); in StopDataSource()
346 auto it = data_sources_.find(ds_id); in Flush()
347 if (it == data_sources_.end() || !it->second->started) in Flush()
[all …]
Dprobes_producer.h116 data_sources_; variable
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.cc148 for (const auto* data_source : data_sources_) in ~FtraceController()
150 data_sources_.clear(); in ~FtraceController()
318 if (data_sources_.empty()) in GetDrainPeriodMs()
321 for (const FtraceDataSource* data_source : data_sources_) { in GetDrainPeriodMs()
407 auto it_and_inserted = data_sources_.insert(data_source); in AddDataSource()
415 PERFETTO_DCHECK(data_sources_.count(data_source) > 0); in StartDataSource()
431 size_t removed = data_sources_.erase(data_source); in RemoveDataSource()
Dftrace_controller.h130 std::set<FtraceDataSource*> data_sources_; variable
/external/perfetto/include/perfetto/tracing/core/
Dtrace_config.h507 return static_cast<int>(data_sources_.size()); in data_sources_size()
509 const std::vector<DataSource>& data_sources() const { return data_sources_; } in data_sources()
510 std::vector<DataSource>* mutable_data_sources() { return &data_sources_; } in mutable_data_sources()
511 void clear_data_sources() { data_sources_.clear(); } in clear_data_sources()
513 data_sources_.emplace_back(); in add_data_sources()
514 return &data_sources_.back(); in add_data_sources()
630 std::vector<DataSource> data_sources_; variable
/external/perfetto/src/tracing/core/
Dtrace_config.cc46 (data_sources_ == other.data_sources_) && in operator ==()
78 data_sources_.clear(); in FromProto()
80 data_sources_.emplace_back(); in FromProto()
81 data_sources_.back().FromProto(field); in FromProto()
190 for (const auto& it : data_sources_) { in ToProto()
Dtracing_service_impl.cc198 for (auto it = data_sources_.begin(); it != data_sources_.end();) { in DisconnectProducer()
479 auto range = data_sources_.equal_range(cfg_data_source.config().name()); in EnableTracing()
606 auto range = data_sources_.equal_range(cfg_data_source.config().name()); in ChangeTraceConfig()
1678 auto reg_ds = data_sources_.emplace(desc.name(), in RegisterDataSource()
1744 for (auto it = data_sources_.begin(); it != data_sources_.end(); ++it) { in UnregisterDataSource()
1747 data_sources_.erase(it); in UnregisterDataSource()
2186 static_cast<uint32_t>(data_sources_.size())); in GetTraceStats()
Dtracing_service_impl.h538 std::multimap<std::string /*name*/, RegisteredDataSource> data_sources_; variable