Searched refs:FtraceDataSource (Results 1 – 8 of 8) sorted by relevance
29 const ProbesDataSource::Descriptor FtraceDataSource::descriptor = {34 FtraceDataSource::FtraceDataSource( in FtraceDataSource() function in perfetto::FtraceDataSource44 FtraceDataSource::~FtraceDataSource() { in ~FtraceDataSource()49 void FtraceDataSource::Initialize( in Initialize()57 void FtraceDataSource::Start() { in Start()67 void FtraceDataSource::DumpFtraceStats(FtraceStats* stats) { in DumpFtraceStats()72 void FtraceDataSource::Flush(FlushRequestID flush_request_id, in Flush()86 void FtraceDataSource::OnFtraceFlushComplete(FlushRequestID flush_request_id) { in OnFtraceFlushComplete()105 void FtraceDataSource::WriteStats() { in WriteStats()
55 class FtraceDataSource : public ProbesDataSource {59 FtraceDataSource(base::WeakPtr<FtraceController>,63 ~FtraceDataSource() override;87 FtraceDataSource(const FtraceDataSource&) = delete;88 FtraceDataSource& operator=(const FtraceDataSource&) = delete;
41 class FtraceDataSource; variable68 bool AddDataSource(FtraceDataSource*) PERFETTO_WARN_UNUSED_RESULT;69 bool StartDataSource(FtraceDataSource*);70 void RemoveDataSource(FtraceDataSource*);124 std::set<FtraceDataSource*> data_sources_;125 std::set<FtraceDataSource*> started_data_sources_;
236 for (FtraceDataSource* ds : started_data_sources_) { in ReadTick()299 for (const FtraceDataSource* data_source : data_sources_) { in GetDrainPeriodMs()335 for (FtraceDataSource* data_source : started_data_sources_) in Flush()355 bool FtraceController::AddDataSource(FtraceDataSource* data_source) { in AddDataSource()371 bool FtraceController::StartDataSource(FtraceDataSource* data_source) { in StartDataSource()402 void FtraceController::RemoveDataSource(FtraceDataSource* data_source) { in RemoveDataSource()
44 class FtraceDataSource; variable78 const std::set<FtraceDataSource*>& started_data_sources);256 const std::set<FtraceDataSource*>& started_data_sources);
187 std::unique_ptr<FtraceDataSource> AddFakeDataSource(const FtraceConfig& cfg) { in AddFakeDataSource()188 std::unique_ptr<FtraceDataSource> data_source(new FtraceDataSource( in AddFakeDataSource()
166 const std::set<FtraceDataSource*>& started_data_sources) { in ReadCycle()202 const std::set<FtraceDataSource*>& started_data_sources) { in ReadAndProcessBatch()275 for (FtraceDataSource* data_source : started_data_sources) { in ReadAndProcessBatch()
69 &FtraceDataSource::descriptor, //115 for (const FtraceDataSource::Descriptor* desc : kAllDataSources) { in OnConnect()164 if (config.name() == FtraceDataSource::descriptor.name) { in SetupDataSource()245 std::unique_ptr<FtraceDataSource> data_source(new FtraceDataSource( in CreateFtraceDataSource()494 if (ds->descriptor == &FtraceDataSource::descriptor) { in OnFtraceDataWrittenIntoDataSourceBuffers()495 metadata = static_cast<FtraceDataSource*>(ds)->mutable_metadata(); in OnFtraceDataWrittenIntoDataSourceBuffers()