Searched refs:CpuReader (Results 1 – 6 of 6) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | cpu_reader.h | 57 class CpuReader { 67 CpuReader(size_t cpu, 71 ~CpuReader(); 174 static base::Optional<CpuReader::PageHeader> ParsePageHeader( 245 CpuReader(const CpuReader&) = delete; 246 CpuReader& operator=(const CpuReader&) = delete;
|
D | cpu_reader_unittest.cc | 238 EXPECT_TRUE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 8, &actual)); in TEST() 255 EXPECT_TRUE(CpuReader::ReadAndAdvance<PlainStruct>(&ptr, ptr + 16, &actual)); in TEST() 276 CpuReader::ReadAndAdvance<ComplexStruct>(&ptr, ptr + 16, &actual)); in TEST() 288 EXPECT_FALSE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 7, &result)); in TEST() 298 EXPECT_FALSE(CpuReader::ReadAndAdvance<uint8_t>(&ptr, ptr, &result)); in TEST() 310 EXPECT_TRUE(CpuReader::ReadAndAdvance<uint64_t>(&ptr, ptr + 8, &actual)); in TEST() 324 auto ret = CpuReader::ParsePageHeader(&ptr, 4u); in TEST() 326 CpuReader::PageHeader parsed = ret.value(); in TEST() 339 auto ret = CpuReader::ParsePageHeader(&ptr, 8u); in TEST() 341 CpuReader::PageHeader parsed = ret.value(); in TEST() [all …]
|
D | cpu_reader.cc | 98 if (!CpuReader::ReadAndAdvance(&ptr, end, &data)) { in ReadDataLoc() 148 CpuReader::CpuReader(size_t cpu, in CpuReader() function in perfetto::CpuReader 160 CpuReader::~CpuReader() = default; 162 size_t CpuReader::ReadCycle( in ReadCycle() 198 size_t CpuReader::ReadAndProcessBatch( in ReadAndProcessBatch() 287 bool CpuReader::ProcessPagesForDataSource( in ProcessPagesForDataSource() 442 base::Optional<CpuReader::PageHeader> CpuReader::ParsePageHeader( in ParsePageHeader() 456 if (!CpuReader::ReadAndAdvance<uint64_t>(ptr, end_of_page, in ParsePageHeader() 464 if (!CpuReader::ReadAndAdvance<uint32_t>( in ParsePageHeader() 485 size_t CpuReader::ParsePagePayload(const uint8_t* start_of_payload, in ParsePagePayload() [all …]
|
D | ftrace_controller.h | 97 PerCpuState(std::unique_ptr<CpuReader> _reader, size_t _period_page_quota) in PerCpuState() 99 std::unique_ptr<CpuReader> reader;
|
D | cpu_reader_fuzzer.cc | 67 CpuReader::ProcessPagesForDataSource(&null_writer, &metadata, /*cpu=*/0, in FuzzCpuReaderProcessPagesForDataSource()
|
D | ftrace_controller.cc | 185 auto reader = std::unique_ptr<CpuReader>( in StartIfNeeded() 186 new CpuReader(cpu, table_.get(), symbolizer_.get(), in StartIfNeeded()
|