Home
last modified time | relevance | path

Searched refs:FtraceController (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.cc118 std::unique_ptr<FtraceController> FtraceController::Create( in Create()
139 return std::unique_ptr<FtraceController>( in Create()
140 new FtraceController(std::move(ftrace_procfs), std::move(table), in Create()
144 FtraceController::FtraceController(std::unique_ptr<FtraceProcfs> ftrace_procfs, in FtraceController() function in perfetto::FtraceController
157 FtraceController::~FtraceController() { in ~FtraceController()
165 uint64_t FtraceController::NowMs() const { in NowMs()
169 void FtraceController::StartIfNeeded() { in StartIfNeeded()
226 void FtraceController::ReadTick(int generation) { in ReadTick()
295 uint32_t FtraceController::GetDrainPeriodMs() { in GetDrainPeriodMs()
306 void FtraceController::ClearTrace() { in ClearTrace()
[all …]
Dftrace_controller.h51 class FtraceController {
61 static std::unique_ptr<FtraceController> Create(base::TaskRunner*, Observer*);
62 virtual ~FtraceController();
78 base::WeakPtr<FtraceController> GetWeakPtr() { in GetWeakPtr()
84 FtraceController(std::unique_ptr<FtraceProcfs>,
103 FtraceController(const FtraceController&) = delete;
104 FtraceController& operator=(const FtraceController&) = delete;
126 base::WeakPtrFactory<FtraceController> weak_factory_; // Keep last.
Dftrace_data_source.h39 class FtraceController; variable
59 FtraceDataSource(base::WeakPtr<FtraceController>,
101 base::WeakPtr<FtraceController> controller_weak_;
Dftrace_data_source.cc35 base::WeakPtr<FtraceController> controller_weak, in FtraceDataSource()
58 FtraceController* ftrace = controller_weak_.get(); in Start()
Dftrace_controller_unittest.cc166 class TestFtraceController : public FtraceController,
167 public FtraceController::Observer {
174 : FtraceController(std::move(ftrace_procfs), in TestFtraceController()
/external/perfetto/src/traced/probes/
Dprobes_producer.h42 class ProbesProducer : public Producer, public FtraceController::Observer {
126 std::unique_ptr<FtraceController> ftrace_;
Dprobes_producer.cc229 ftrace_ = FtraceController::Create(task_runner_, this); in CreateFtraceDataSource()