Home
last modified time | relevance | path

Searched refs:CpuReader (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader.h57 class CpuReader {
61 CpuReader(const ProtoTranslationTable*,
66 ~CpuReader();
190 CpuReader(const CpuReader&) = delete;
191 CpuReader& operator=(const CpuReader&) = delete;
Dcpu_reader.cc95 if (!CpuReader::ReadAndAdvance(&ptr, end, &data)) { in ReadDataLoc()
122 if (!CpuReader::ReadAndAdvance<uint64_t>(ptr, end_of_page, in ParsePageHeader()
130 if (!CpuReader::ReadAndAdvance<uint32_t>( in ParsePageHeader()
151 CpuReader::CpuReader(const ProtoTranslationTable* table, in CpuReader() function in perfetto::CpuReader
186 CpuReader::~CpuReader() { in ~CpuReader()
207 void CpuReader::InterruptWorkerThreadWithSignal() { in InterruptWorkerThreadWithSignal()
215 void CpuReader::RunWorkerThread(size_t cpu, in RunWorkerThread()
400 void CpuReader::Drain(const std::set<FtraceDataSource*>& data_sources) { in Drain()
438 size_t CpuReader::ParsePage(const uint8_t* ptr, in ParsePage()
542 bool CpuReader::ParseEvent(uint16_t ftrace_event_id, in ParseEvent()
[all …]
Dcpu_reader_unittest.cc230 EXPECT_TRUE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 8, &actual)); in TEST()
247 EXPECT_TRUE(CpuReader::ReadAndAdvance<PlainStruct>(&ptr, ptr + 16, &actual)); in TEST()
268 CpuReader::ReadAndAdvance<ComplexStruct>(&ptr, ptr + 16, &actual)); in TEST()
280 EXPECT_FALSE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 7, &result)); in TEST()
290 EXPECT_FALSE(CpuReader::ReadAndAdvance<uint8_t>(&ptr, ptr, &result)); in TEST()
302 EXPECT_TRUE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 8, &actual)); in TEST()
344 size_t bytes = CpuReader::ParsePage( in TEST()
459 CpuReader::ParsePage(page.get(), &filter, bundle_provider.writer(), table, in TEST()
496 ASSERT_FALSE(CpuReader::ParsePage( in TEST()
521 ASSERT_TRUE(CpuReader::ParsePage(page.get(), &filter, in TEST()
[all …]
Dftrace_controller.h40 class CpuReader; variable
129 std::vector<std::unique_ptr<CpuReader>> cpu_readers_;
Dcpu_reader_fuzzer.cc63 CpuReader::ParsePage(g_page, &filter, &writer, table, &metadata); in FuzzCpuReaderParsePage()
Dftrace_controller.cc312 new CpuReader(table_.get(), &thread_sync_, cpu, generation_, in StartIfNeeded()