/system/core/libprocinfo/include/procinfo/ |
D | process_map.h | 38 uint64_t pgoff; in ReadMapFileContent() local 115 pgoff = strtoull(p, &end, 16); in ReadMapFileContent() 139 callback(start_addr, end_addr, flags, pgoff, inode, p); in ReadMapFileContent() 164 uint64_t pgoff; member 168 MapInfo(uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in MapInfo() 170 : start(start), end(end), flags(flags), pgoff(pgoff), inode(inode), name(name) {} in MapInfo() 175 pid, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in ReadProcessMaps() 176 const char* name) { maps->emplace_back(start, end, flags, pgoff, inode, name); }); in ReadProcessMaps()
|
/system/core/libprocinfo/ |
D | process_map_test.cpp | 35 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TEST() 36 const char* name) { maps.emplace_back(start, end, flags, pgoff, inode, name); })); in TEST() argument 41 ASSERT_EQ(maps[0].pgoff, 0ULL); in TEST() 47 ASSERT_EQ(maps[876].pgoff, 0ULL); in TEST() 53 ASSERT_EQ(maps[1260].pgoff, 0ULL); in TEST() 64 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TEST() 65 const char* name) { maps.emplace_back(start, end, flags, pgoff, inode, name); })); in TEST() 77 TestMapInfo(uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t inode, in TestMapInfo() argument 79 : start(start), end(end), flags(flags), pgoff(pgoff), inode(inode) { in TestMapInfo() 85 uint64_t pgoff = 0; member [all …]
|
D | process_map_benchmark.cpp | 36 uint64_t pgoff, ino_t inode, const char* name) { in BM_ReadMapFile() argument 37 maps.emplace_back(start, end, flags, pgoff, inode, name); in BM_ReadMapFile()
|
/system/extras/simpleperf/ |
D | thread_tree.h | 45 uint64_t pgoff; member 50 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, 54 pgoff(pgoff), in start_addr() 68 return dso->IpToVaddrInFile(addr, start_addr, pgoff); in GetVaddrInFile() 111 void AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, 115 uint64_t pgoff, const std::string& filename, uint32_t flags = 0);
|
D | environment.h | 52 uint64_t pgoff; member 56 ThreadMmap(uint64_t start, uint64_t len, uint64_t pgoff, const char* name, uint32_t prot) in ThreadMmap() 57 : start_addr(start), len(len), pgoff(pgoff), name(name), prot(prot) {} in ThreadMmap()
|
D | thread_tree.cpp | 104 void ThreadTree::AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddKernelMap() argument 111 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap() 128 uint64_t pgoff, const std::string& filename, uint32_t flags) { in AddThreadMap() argument 131 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap() 156 result.pgoff += result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry() 236 vaddr_in_file = dso->IpToVaddrInFile(ip, map->start_addr, map->pgoff); in FindSymbol() 307 AddKernelMap(r.data->addr, r.data->len, r.data->pgoff, r.filename); in Update() 309 AddThreadMap(r.data->pid, r.data->tid, r.data->addr, r.data->len, r.data->pgoff, r.filename); in Update() 314 AddKernelMap(r.data->addr, r.data->len, r.data->pgoff, r.filename); in Update() 319 AddThreadMap(r.data->pid, r.data->tid, r.data->addr, r.data->len, r.data->pgoff, filename, in Update()
|
D | OfflineUnwinder.cpp | 129 uint64_t pgoff = entry->pgoff; in CreateMapInfo() local 137 pgoff += elf->entry_offset(); in CreateMapInfo() 147 return new unwindstack::MapInfo(nullptr, nullptr, entry->start_addr, entry->get_end_addr(), pgoff, in CreateMapInfo()
|
D | record.h | 276 uint64_t pgoff; member 284 uint32_t tid, uint64_t addr, uint64_t len, uint64_t pgoff, 299 uint64_t pgoff; member 311 uint64_t addr, uint64_t len, uint64_t pgoff, uint32_t prot,
|
D | thread_tree_test.cpp | 46 ASSERT_EQ(pair.second->pgoff, pair.first); in CheckMaps()
|
D | report_lib_interface.cpp | 71 uint64_t pgoff; member 432 mapping->pgoff = map.pgoff; in AddMapping()
|
D | record.cpp | 222 uint64_t pgoff, const std::string& filename, in MmapRecord() argument 233 data.pgoff = pgoff; in MmapRecord() 257 PrintIndented(indent, "pgoff 0x%" PRIx64 ", filename %s\n", data->pgoff, in DumpData() 273 uint64_t addr, uint64_t len, uint64_t pgoff, uint32_t prot, in Mmap2Record() argument 283 data.pgoff = pgoff; in Mmap2Record() 310 data->pgoff, data->maj, data->min, data->ino, in DumpData()
|
D | cmd_record.cpp | 1246 map.pgoff, map.prot, map.name, event_id, last_record_timestamp_); in DumpProcessMaps() 1419 map.pgoff, map.prot, map.name, attr_id.ids[0], timestamp); in ProcessJITDebugInfo() 1475 if (r.data->pgoff != 0 && (!has_prot || (prot & PROT_EXEC))) { in UpdateMmapRecordForEmbeddedPath() 1486 EmbeddedElf* ee = ApkInspector::FindElfInApkByOffset(filename, r.data->pgoff); in UpdateMmapRecordForEmbeddedPath() 1490 data.pgoff -= ee->entry_offset(); in UpdateMmapRecordForEmbeddedPath()
|
D | environment.cpp | 240 pid, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, in GetThreadMmapsInProcess() 242 thread_mmaps->emplace_back(start, end - start, pgoff, name, flags); in GetThreadMmapsInProcess()
|
D | ETMDecoder.cpp | 259 uint64_t offset = address - map->start_addr + map->pgoff; in ReadTargetMemory() 268 data.buffer = memory == nullptr ? nullptr : (memory->getBufferStart() + map->pgoff); in ReadTargetMemory()
|
D | JITDebugReader.cpp | 749 uint64_t dex_file_offset = dex_entry.symfile_addr - it->start_addr + it->pgoff; in ReadDexFileDebugInfo()
|
/system/core/libunwindstack/ |
D | Maps.cpp | 67 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, const char* name) { in Parse() argument 72 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, start, end, pgoff, flags, name)); in Parse() 118 [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, const char* name) { in Parse() argument 123 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, start, end, pgoff, flags, name)); in Parse()
|
/system/memory/libmeminfo/ |
D | procmeminfo.cpp | 277 maps_file, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, in ReadMaps() 281 maps_.emplace_back(Vma(start, end, pgoff, flags, name)); in ReadMaps() 464 line, [&](uint64_t start, uint64_t end, uint16_t flags, uint64_t pgoff, ino_t, in ForEachVmaFromFile() 469 vma.offset = pgoff; in ForEachVmaFromFile()
|
/system/extras/simpleperf/scripts/ |
D | pprof_proto_generator.py | 209 def __init__(self, start, end, pgoff, filename_id, build_id_id): argument 213 self.file_offset = pgoff 409 report_mapping.pgoff, filename_id, build_id_id)
|