/system/extras/simpleperf/ |
D | thread_tree.h | 43 uint64_t start_addr; member 50 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, 52 : start_addr(start_addr), in start_addr() function 60 uint64_t get_end_addr() const { return start_addr + len; } in get_end_addr() 96 void AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, 98 void AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, 133 Dso* FindUserDsoOrNew(const std::string& filename, uint64_t start_addr = 0,
|
D | thread_tree.cpp | 91 void ThreadTree::AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddKernelMap() argument 98 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap() 114 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, in AddThreadMap() argument 117 Dso* dso = FindUserDsoOrNew(filename, start_addr); in AddThreadMap() 118 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap() 121 Dso* ThreadTree::FindUserDsoOrNew(const std::string& filename, uint64_t start_addr, in FindUserDsoOrNew() argument 125 bool force_64bit = start_addr > UINT_MAX; in FindUserDsoOrNew() 141 result.start_addr = new_start_addr; in RemoveFirstPartOfMapEntry() 142 result.len -= result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry() 143 result.pgoff += result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry() [all …]
|
D | environment.h | 43 uint64_t start_addr; member 51 uint64_t start_addr; member 58 : start_addr(start), len(len), pgoff(pgoff), name(name), prot(prot) {} in ThreadMmap()
|
D | OfflineUnwinder.cpp | 134 return new unwindstack::MapInfo(nullptr, entry->start_addr, entry->get_end_addr(), pgoff, in CreateMapInfo() 150 } else if (i == old_size || entry->start_addr <= entries_[i]->start_addr) { in UpdateMaps() 169 return e1->start_addr < e2->start_addr; in UpdateMaps()
|
D | JITDebugReader.cpp | 309 min_vaddr_in_memory = map.start_addr; in InitializeProcess() 536 return map.start_addr <= addr; in ReadDexFileDebugInfo() 545 if (it->start_addr + it->len < dex_entry.symfile_addr + dex_entry.symfile_size) { in ReadDexFileDebugInfo() 561 uint64_t dex_file_offset = dex_entry.symfile_addr - it->start_addr + it->pgoff; in ReadDexFileDebugInfo() 564 << " in map [" << it->start_addr << " - " << (it->start_addr + it->len) in ReadDexFileDebugInfo()
|
D | inplace_sampler_lib.cpp | 273 auto it = maps_.find(map.start_addr); in CheckMapChange() 276 maps_[map.start_addr] = map; in CheckMapChange() 284 MoveToBinaryFormat(map.start_addr, p); in CheckMapChange()
|
D | thread_tree_test.cpp | 44 ASSERT_EQ(pair.second->start_addr, pair.first); in CheckMaps()
|
D | environment.cpp | 141 map.start_addr = addr; in GetLoadedModules() 148 if (map.start_addr != 0) { in GetLoadedModules() 206 kernel_mmap->start_addr = 0; in GetKernelAndModuleMmaps() 553 memcpy(&s[0], reinterpret_cast<void*>(static_cast<uintptr_t>(vdso_map->start_addr)), in PrepareVdsoFile()
|
D | sample_tree_test.cpp | 68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
|
D | report_lib_interface.cpp | 410 mapping->start = map.start_addr; in AddMapping() 411 mapping->end = map.start_addr + map.len; in AddMapping()
|
D | cmd_record.cpp | 1096 MmapRecord mmap_record(*dumping_attr_id_.attr, true, UINT_MAX, 0, kernel_mmap.start_addr, in DumpKernelMaps() 1102 MmapRecord mmap_record(*dumping_attr_id_.attr, true, UINT_MAX, 0, module_mmap.start_addr, in DumpKernelMaps() 1152 Mmap2Record record(attr, false, pid, pid, map.start_addr, map.len, in DumpProcessMaps()
|
/system/core/libprocinfo/include/procinfo/ |
D | process_map.h | 35 uint64_t start_addr; in ReadMapFileContent() local 73 start_addr = strtoull(p, &end, 16); in ReadMapFileContent() 139 callback(start_addr, end_addr, flags, pgoff, inode, p); in ReadMapFileContent()
|
/system/extras/simpleperf/scripts/ |
D | report_html.py | 339 def __init__(self, lib_id, func_name, func_id, start_addr, addr_len): argument 343 self.start_addr = start_addr 594 addr2line.add_addr(lib_name, function.start_addr, function.start_addr) 595 addr2line.add_addr(lib_name, function.start_addr, 596 function.start_addr + function.addr_len - 1) 603 func_addr = self.functions.id_to_func[function.func_id].start_addr 615 start_source = addr2line.get_addr_source(dso, function.start_addr) 616 end_source = addr2line.get_addr_source(dso, function.start_addr + function.addr_len - 1) 670 code = objdump.disassemble_code(dso_info, function.start_addr, function.addr_len)
|
D | utils.py | 671 def disassemble_code(self, dso_info, start_addr, addr_len): argument 685 '--start-address=0x%x' % start_addr, 686 '--stop-address=0x%x' % (start_addr + addr_len),
|