Home
last modified time | relevance | path

Searched refs:page_header (Results 1 – 3 of 3) sorted by relevance

/external/perfetto/src/ftrace_reader/
Dcpu_reader.cc284 PageHeader page_header; in ParsePage() local
285 if (!ReadAndAdvance<uint64_t>(&ptr, end_of_page, &page_header.timestamp)) in ParsePage()
294 page_header.size = (overwrite_and_size & 0x000000000000ffffull) >> 0; in ParsePage()
295 page_header.overwrite = (overwrite_and_size & 0x00000000ff000000ull) >> 24; in ParsePage()
301 page_header.size = (overwrite_and_size & 0x000000000000ffffull) >> 0; in ParsePage()
302 page_header.overwrite = (overwrite_and_size & 0x00000000ff000000ull) >> 24; in ParsePage()
307 metadata->overwrite_count = static_cast<uint32_t>(page_header.overwrite); in ParsePage()
309 const uint8_t* const end = ptr + page_header.size; in ParsePage()
313 uint64_t timestamp = page_header.timestamp; in ParsePage()
/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_abi.h427 PageHeader* page_header(size_t page_idx) { in page_header() function
436 return page_header(page_idx)->layout.load(std::memory_order_relaxed) == 0; in is_page_free()
443 auto layout = page_header(page_idx)->layout.load(std::memory_order_relaxed); in is_page_complete()
453 uint32_t x = page_header(page_idx)->layout.load(std::memory_order_relaxed); in page_header_dbg()
459 return page_header(page_idx)->layout.load(std::memory_order_relaxed); in page_layout_dbg()
513 PageHeader* phdr = page_header(page_idx); in GetChunkState()
/external/perfetto/src/tracing/core/
Dshared_memory_abi.cc153 PageHeader* phdr = page_header(page_idx); in TryAcquireChunk()
198 PageHeader* phdr = page_header(page_idx); in TryPartitionPage()
208 page_header(page_idx)->layout.load(std::memory_order_relaxed); in GetFreeChunks()
228 PageHeader* phdr = page_header(page_idx); in ReleaseChunk()
274 PageHeader* phdr = page_header(page_idx); in TryAcquireAllChunksForReading()
300 PageHeader* phdr = page_header(page_idx); in ReleaseAllChunksAsFree()