Searched refs:CpuReader (Results 1 – 6 of 6) sorted by relevance
/external/perfetto/src/ftrace_reader/ |
D | cpu_reader.h | 74 class CpuReader { 78 CpuReader(const ProtoTranslationTable*, 82 ~CpuReader(); 209 CpuReader(const CpuReader&) = delete; 210 CpuReader& operator=(const CpuReader&) = delete;
|
D | cpu_reader.cc | 107 CpuReader::CpuReader(const ProtoTranslationTable* table, in CpuReader() function in perfetto::CpuReader 151 CpuReader::~CpuReader() { in ~CpuReader() 165 void CpuReader::RunWorkerThread(size_t cpu, in RunWorkerThread() 227 bool CpuReader::Drain(const std::array<const EventFilter*, kMaxSinks>& filters, in Drain() 259 uint8_t* CpuReader::GetBuffer() { in GetBuffer() 275 size_t CpuReader::ParsePage(const uint8_t* ptr, in ParsePage() 398 bool CpuReader::ParseEvent(uint16_t ftrace_event_id, in ParseEvent() 438 bool CpuReader::ParseField(const Field& field, in ParseField()
|
D | cpu_reader_unittest.cc | 231 EXPECT_TRUE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 8, &actual)); in TEST() 248 EXPECT_TRUE(CpuReader::ReadAndAdvance<PlainStruct>(&ptr, ptr + 16, &actual)); in TEST() 269 CpuReader::ReadAndAdvance<ComplexStruct>(&ptr, ptr + 16, &actual)); in TEST() 281 EXPECT_FALSE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 7, &result)); in TEST() 291 EXPECT_FALSE(CpuReader::ReadAndAdvance<uint8_t>(&ptr, ptr, &result)); in TEST() 303 EXPECT_TRUE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 8, &actual)); in TEST() 343 size_t bytes = CpuReader::ParsePage( in TEST() 456 CpuReader::ParsePage(page.get(), &filter, bundle_provider.writer(), table, in TEST() 491 ASSERT_FALSE(CpuReader::ParsePage( in TEST() 516 ASSERT_TRUE(CpuReader::ParsePage(page.get(), &filter, in TEST() [all …]
|
D | ftrace_controller.cc | 209 cpu, std::unique_ptr<CpuReader>(new CpuReader( in StartIfNeeded() 254 CpuReader* reader = readers_[cpu].get(); in OnRawFtraceDataAvailable()
|
D | cpu_reader_fuzzer.cc | 59 CpuReader::ParsePage(g_page, &filter, &writer, table, &metadata); in FuzzCpuReaderParsePage()
|
/external/perfetto/include/perfetto/ftrace_reader/ |
D | ftrace_controller.h | 101 class CpuReader; variable 233 std::map<size_t, std::unique_ptr<CpuReader>> readers_;
|