Searched refs:mmap_addr (Results 1 – 2 of 2) sorted by relevance
/system/extras/simpleperf/ |
D | event_fd.cpp | 125 void* mmap_addr = mmap(nullptr, mmap_len, PROT_READ | PROT_WRITE, MAP_SHARED, perf_event_fd_, 0); in MmapContent() local 126 if (mmap_addr == MAP_FAILED) { in MmapContent() 130 mmap_addr_ = mmap_addr; in MmapContent()
|
D | record_file.cpp | 204 void* mmap_addr = mmap(nullptr, mmap_len, PROT_READ, MAP_SHARED, fileno(record_fp_), 0); in GetHitModules() local 205 if (mmap_addr == MAP_FAILED) { in GetHitModules() 209 const char* data_section_p = reinterpret_cast<const char*>(mmap_addr) + data_section_offset_; in GetHitModules() 213 if (munmap(mmap_addr, mmap_len) == -1) { in GetHitModules() 364 void* mmap_addr = mmap(nullptr, mmap_len, PROT_READ, MAP_SHARED, record_fd_, 0); in MmapFile() local 365 if (mmap_addr == MAP_FAILED) { in MmapFile() 370 mmap_addr_ = reinterpret_cast<const char*>(mmap_addr); in MmapFile()
|