Searched refs:page_header (Results 1 – 6 of 6) sorted by relevance
/external/perfetto/src/traced/probes/ftrace/ |
D | cpu_reader_unittest.cc | 441 std::optional<CpuReader::PageHeader> page_header = in TEST_F() local 445 ASSERT_TRUE(page_header.has_value()); in TEST_F() 446 EXPECT_EQ(44ul, page_header->size); in TEST_F() 447 EXPECT_FALSE(page_header->lost_events); in TEST_F() 448 EXPECT_LE(parse_pos + page_header->size, page_end); in TEST_F() 451 parse_pos, &page_header.value(), table, &ds_config, in TEST_F() 564 std::optional<CpuReader::PageHeader> page_header = in TEST_F() local 568 ASSERT_TRUE(page_header.has_value()); in TEST_F() 569 EXPECT_FALSE(page_header->lost_events); in TEST_F() 570 EXPECT_LE(parse_pos + page_header->size, page_end); in TEST_F() [all …]
|
D | cpu_reader.cc | 425 std::optional<PageHeader> page_header = in ProcessPagesForDataSource() local 428 if (!page_header.has_value() || page_header->size == 0 || in ProcessPagesForDataSource() 430 parse_pos + page_header->size > curr_page_end) { in ProcessPagesForDataSource() 446 if (page_header->lost_events || interner_past_threshold) { in ProcessPagesForDataSource() 447 bundler.StartNewPacket(page_header->lost_events); in ProcessPagesForDataSource() 450 size_t evt_size = ParsePagePayload(parse_pos, &page_header.value(), table, in ProcessPagesForDataSource() 453 if (evt_size != page_header->size) { in ProcessPagesForDataSource() 489 PageHeader page_header; in ParsePageHeader() local 491 &page_header.timestamp)) in ParsePageHeader() 502 page_header.size = size_and_flags & kDataSizeMask; in ParsePageHeader() [all …]
|
D | proto_translation_table.cc | 399 std::string page_header = in DefaultPageHeaderSpecForTesting() local 405 PERFETTO_CHECK(ParseFtraceEventBody(std::move(page_header), nullptr, in DefaultPageHeaderSpecForTesting() 418 std::string page_header = ftrace_procfs->ReadPageHeaderFormat(); in Create() local 421 if (!page_header.empty()) { in Create() 423 ftrace_header_parsed = ParseFtraceEventBody(std::move(page_header), nullptr, in Create()
|
D | cpu_reader.h | 251 const PageHeader* page_header,
|
/external/perfetto/include/perfetto/ext/tracing/core/ |
D | shared_memory_abi.h | 466 PageHeader* page_header(size_t page_idx) { in page_header() function 475 return page_header(page_idx)->layout.load(std::memory_order_relaxed) == 0; in is_page_free() 482 auto layout = page_header(page_idx)->layout.load(std::memory_order_relaxed); in is_page_complete() 492 uint32_t x = page_header(page_idx)->layout.load(std::memory_order_relaxed); in page_header_dbg() 502 return page_header(page_idx)->layout.load(std::memory_order_acquire); in GetPageLayout() 550 PageHeader* phdr = page_header(page_idx); in GetChunkState()
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_abi.cc | 158 PageHeader* phdr = page_header(page_idx); in TryAcquireChunk() 203 PageHeader* phdr = page_header(page_idx); in TryPartitionPage() 213 page_header(page_idx)->layout.load(std::memory_order_relaxed); in GetFreeChunks() 238 PageHeader* phdr = page_header(page_idx); in ReleaseChunk()
|