Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.cc129 std::unique_ptr<FtraceProcfs> ftrace_procfs = nullptr; in Create() local
130 while (!ftrace_procfs && kTracingPaths[index]) { in Create()
131 ftrace_procfs = FtraceProcfs::Create(kTracingPaths[index++]); in Create()
134 if (!ftrace_procfs) in Create()
138 ftrace_procfs.get(), GetStaticEventInfo(), GetStaticCommonFieldsInfo()); in Create()
145 vendor_tracepoints::DiscoverVendorTracepoints(&hal, ftrace_procfs.get()); in Create()
148 new FtraceConfigMuxer(ftrace_procfs.get(), table.get(), vendor_evts)); in Create()
150 new FtraceController(std::move(ftrace_procfs), std::move(table), in Create()
154 FtraceController::FtraceController(std::unique_ptr<FtraceProcfs> ftrace_procfs, in FtraceController() argument
161 ftrace_procfs_(std::move(ftrace_procfs)), in FtraceController()
Dftrace_controller_unittest.cc168 TestFtraceController(std::unique_ptr<MockFtraceProcfs> ftrace_procfs, in TestFtraceController() argument
173 : FtraceController(std::move(ftrace_procfs), in TestFtraceController()
214 std::unique_ptr<MockFtraceProcfs> ftrace_procfs; in CreateTestController() local
216 ftrace_procfs = std::unique_ptr<MockFtraceProcfs>( in CreateTestController()
219 ftrace_procfs = in CreateTestController()
223 auto table = FakeTable(ftrace_procfs.get()); in CreateTestController()
225 auto model = FakeModel(ftrace_procfs.get(), table.get()); in CreateTestController()
227 MockFtraceProcfs* raw_procfs = ftrace_procfs.get(); in CreateTestController()
229 std::move(ftrace_procfs), std::move(table), std::move(model), in CreateTestController()
Dproto_translation_table_unittest.cc59 FtraceProcfs ftrace_procfs(path); in SetUp() local
60 table_ = ProtoTranslationTable::Create(&ftrace_procfs, GetStaticEventInfo(), in SetUp()
114 FtraceProcfs ftrace_procfs(path); in TEST() local
116 &ftrace_procfs, GetStaticEventInfo(), GetStaticCommonFieldsInfo()); in TEST()
268 FtraceProcfs ftrace_procfs(path); in TEST() local
270 &ftrace_procfs, GetStaticEventInfo(), GetStaticCommonFieldsInfo()); in TEST()
303 FtraceProcfs ftrace_procfs(path); in TEST() local
305 &ftrace_procfs, GetStaticEventInfo(), GetStaticCommonFieldsInfo()); in TEST()
Dproto_translation_table.cc380 const FtraceProcfs* ftrace_procfs, in Create() argument
386 std::string page_header = ftrace_procfs->ReadPageHeaderFormat(); in Create()
412 ftrace_procfs->ReadEventFormat(event.group, event.name); in Create()
457 new ProtoTranslationTable(ftrace_procfs, events, std::move(common_fields), in Create()
463 const FtraceProcfs* ftrace_procfs, in ProtoTranslationTable() argument
468 : ftrace_procfs_(ftrace_procfs), in ProtoTranslationTable()
Dproto_translation_table.h93 const FtraceProcfs* ftrace_procfs,
98 ProtoTranslationTable(const FtraceProcfs* ftrace_procfs,
DBUILD.gn141 "ftrace_procfs.cc",
142 "ftrace_procfs.h",
Dftrace_config_muxer.cc52 const FtraceProcfs& ftrace_procfs, in ReadEventsInGroupFromFs() argument
55 ftrace_procfs.GetEventNamesForGroup("events/" + group); in ReadEventsInGroupFromFs()
Dftrace_config_muxer_unittest.cc78 MockProtoTranslationTable(NiceMock<MockFtraceProcfs>* ftrace_procfs, in MockProtoTranslationTable() argument
83 : ProtoTranslationTable(ftrace_procfs, in MockProtoTranslationTable()
/external/perfetto/
DBUILD1170 "src/traced/probes/ftrace/ftrace_procfs.cc",
1171 "src/traced/probes/ftrace/ftrace_procfs.h",
DAndroid.bp6915 "src/traced/probes/ftrace/ftrace_procfs.cc",