Home
last modified time | relevance | path

Searched refs:metadata_page_ (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/profiling/perf/
Devent_reader.cc63 : metadata_page_(other.metadata_page_), in PerfRingBuffer()
67 other.metadata_page_ = nullptr; in PerfRingBuffer()
86 if (munmap(reinterpret_cast<void*>(metadata_page_), mmap_sz_) != 0) in ~PerfRingBuffer()
111 ret.metadata_page_ = reinterpret_cast<perf_event_mmap_page*>(mmap_addr); in Allocate()
113 PERFETTO_CHECK(ret.metadata_page_->data_offset == base::kPageSize); in Allocate()
114 PERFETTO_CHECK(ret.metadata_page_->data_size = ret.data_buf_sz_); in Allocate()
132 uint64_t read_offset = metadata_page_->data_tail; in ReadRecordNonconsuming()
137 reinterpret_cast<std::atomic<uint64_t>*>(&metadata_page_->data_head) in ReadRecordNonconsuming()
183 uint64_t updated_tail = metadata_page_->data_tail + bytes; in Consume()
184 reinterpret_cast<std::atomic<uint64_t>*>(&metadata_page_->data_tail) in Consume()
Devent_reader.h53 bool valid() const { return metadata_page_ != nullptr; } in valid()
56 perf_event_mmap_page* metadata_page_ = nullptr; variable