Home
last modified time | relevance | path

Searched refs:FtraceDataSource (Results 1 – 8 of 8) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dftrace_data_source.cc29 const ProbesDataSource::Descriptor FtraceDataSource::descriptor = {
34 FtraceDataSource::FtraceDataSource( in FtraceDataSource() function in perfetto::FtraceDataSource
44 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()
Dftrace_data_source.h55 class FtraceDataSource : public ProbesDataSource {
59 FtraceDataSource(base::WeakPtr<FtraceController>,
63 ~FtraceDataSource() override;
87 FtraceDataSource(const FtraceDataSource&) = delete;
88 FtraceDataSource& operator=(const FtraceDataSource&) = delete;
Dftrace_controller.h41 class FtraceDataSource; variable
68 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_;
Dftrace_controller.cc236 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()
Dcpu_reader.h44 class FtraceDataSource; variable
78 const std::set<FtraceDataSource*>& started_data_sources);
256 const std::set<FtraceDataSource*>& started_data_sources);
Dftrace_controller_unittest.cc187 std::unique_ptr<FtraceDataSource> AddFakeDataSource(const FtraceConfig& cfg) { in AddFakeDataSource()
188 std::unique_ptr<FtraceDataSource> data_source(new FtraceDataSource( in AddFakeDataSource()
Dcpu_reader.cc166 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()
/external/perfetto/src/traced/probes/
Dprobes_producer.cc69 &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()