/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() 63 return addr >= start_addr && addr < get_end_addr(); in Contains() 68 return dso->IpToVaddrInFile(addr, start_addr, pgoff); in GetVaddrInFile() 111 void AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, 114 void AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, 148 Dso* FindUserDsoOrNew(const std::string& filename, uint64_t start_addr = 0,
|
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() 127 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, in AddThreadMap() argument 130 Dso* dso = FindUserDsoOrNew(filename, start_addr); in AddThreadMap() 131 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap() 134 Dso* ThreadTree::FindUserDsoOrNew(const std::string& filename, uint64_t start_addr, in FindUserDsoOrNew() argument 138 bool force_64bit = start_addr > UINT_MAX; in FindUserDsoOrNew() 154 result.start_addr = new_start_addr; in RemoveFirstPartOfMapEntry() 155 result.len -= result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry() 156 result.pgoff += result.start_addr - entry->start_addr; in RemoveFirstPartOfMapEntry() [all …]
|
D | OfflineUnwinder_test.cpp | 64 map_set.maps.insert(std::make_pair(map_entries[i].start_addr, &map_entries[i])); in TEST() 73 map_set.maps.insert(std::make_pair(map_entries[i].start_addr, &map_entries[i])); in TEST() 81 map_set.maps.erase(map_entries[i].start_addr); in TEST()
|
D | environment.h | 42 uint64_t start_addr; member 50 uint64_t start_addr; member 57 : start_addr(start), len(len), pgoff(pgoff), name(name), prot(prot) {} in ThreadMmap()
|
D | OfflineUnwinder.cpp | 147 return new unwindstack::MapInfo(nullptr, nullptr, entry->start_addr, entry->get_end_addr(), pgoff, in CreateMapInfo() 164 } else if (i == old_size || entry->start_addr <= entries_[i]->start_addr) { in UpdateMaps() 189 return e1->start_addr < e2->start_addr; in UpdateMaps()
|
D | ETMDecoder.cpp | 259 uint64_t offset = address - map->start_addr + map->pgoff; in ReadTargetMemory() 269 data.buffer_start = map->start_addr; in ReadTargetMemory() 425 uint64_t start_addr = map->GetVaddrInFile(elem.st_addr); in ProcessElement() local 432 instr_range.branch_to_addr = start_addr; in ProcessElement() 436 instr_range.start_addr = start_addr; in ProcessElement() 855 uint64_t start_addr = addr_p.first & ~1ULL; in ConvertBranchMapToInstrRanges() local 860 decoder.SetAddr(start_addr, is_thumb); in ConvertBranchMapToInstrRanges() 870 instr_range.start_addr = from_addr; in ConvertBranchMapToInstrRanges()
|
D | ETMDecoder.h | 40 uint64_t start_addr = 0; member
|
D | JITDebugReader.cpp | 457 min_vaddr_in_memory = map.start_addr; in InitializeProcess() 722 return map.start_addr <= addr; in ReadDexFileDebugInfo() 731 if (it->start_addr + it->len < dex_entry.symfile_addr + dex_entry.symfile_size) { in ReadDexFileDebugInfo() 749 uint64_t dex_file_offset = dex_entry.symfile_addr - it->start_addr + it->pgoff; in ReadDexFileDebugInfo() 753 << " in map [" << it->start_addr << " - " << (it->start_addr + it->len) in ReadDexFileDebugInfo()
|
D | thread_tree_test.cpp | 44 ASSERT_EQ(pair.second->start_addr, pair.first); in CheckMaps()
|
D | environment.cpp | 116 map.start_addr = addr; in GetLoadedModules() 123 if (map.start_addr != 0) { in GetLoadedModules() 181 kernel_mmap->start_addr = 0; in GetKernelAndModuleMmaps() 537 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 | 430 mapping->start = map.start_addr; in AddMapping() 431 mapping->end = map.start_addr + map.len; in AddMapping()
|
D | cmd_record.cpp | 1181 MmapRecord mmap_record(*dumping_attr_id_.attr, true, UINT_MAX, 0, kernel_mmap.start_addr, in DumpKernelMaps() 1187 MmapRecord mmap_record(*dumping_attr_id_.attr, true, UINT_MAX, 0, module_mmap.start_addr, in DumpKernelMaps() 1245 Mmap2Record record(attr, false, pid, pid, map.start_addr, map.len, in DumpProcessMaps() 1418 Mmap2Record record(*attr_id.attr, false, info.pid, info.pid, map.start_addr, map.len, in ProcessJITDebugInfo()
|
D | cmd_inject.cpp | 260 binary.range_count_map[AddrPair(instr_range.start_addr, instr_range.end_addr)] += in ProcessInstrRange()
|
/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 | 406 def __init__(self, lib_id, func_name, func_id, start_addr, addr_len): argument 410 self.start_addr = start_addr 679 addr2line.add_addr(lib_name, function.start_addr, function.start_addr) 680 addr2line.add_addr(lib_name, function.start_addr, 681 function.start_addr + function.addr_len - 1) 688 func_addr = self.functions.id_to_func[function.func_id].start_addr 700 start_source = addr2line.get_addr_source(dso, function.start_addr) 701 end_source = addr2line.get_addr_source(dso, function.start_addr + function.addr_len - 1) 755 code = objdump.disassemble_code(dso_info, function.start_addr, function.addr_len)
|
D | utils.py | 695 def disassemble_code(self, dso_info, start_addr, addr_len): argument 709 '--start-address=0x%x' % start_addr, 710 '--stop-address=0x%x' % (start_addr + addr_len),
|
/system/memory/libmeminfo/ |
D | procmeminfo.cpp | 242 off64_t start_addr = (vma.start / getpagesize()) * sizeof(uint64_t); in PageMap() local 243 ssize_t bytes_read = pread64(pagemap_fd, pagemap->data(), bytes_to_read, start_addr); in PageMap()
|