Home
last modified time | relevance | path

Searched refs:start_addr (Results 1 – 14 of 14) sorted by relevance

/system/extras/simpleperf/
Dthread_tree.h43 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,
Dthread_tree.cpp91 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 …]
Denvironment.h43 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()
DOfflineUnwinder.cpp134 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()
DJITDebugReader.cpp309 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()
Dinplace_sampler_lib.cpp273 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()
Dthread_tree_test.cpp44 ASSERT_EQ(pair.second->start_addr, pair.first); in CheckMaps()
Denvironment.cpp141 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()
Dsample_tree_test.cpp68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
Dreport_lib_interface.cpp410 mapping->start = map.start_addr; in AddMapping()
411 mapping->end = map.start_addr + map.len; in AddMapping()
Dcmd_record.cpp1096 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/
Dprocess_map.h35 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/
Dreport_html.py339 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)
Dutils.py671 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),