/system/extras/simpleperf/ |
D | thread_tree.cpp | 33 if (map1->start_addr != map2->start_addr) { in operator ()() 34 return map1->start_addr < map2->start_addr; in operator ()() 102 void ThreadTree::AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, in AddKernelMap() argument 110 AllocateMap(MapEntry(start_addr, len, pgoff, time, dso, true)); in AddKernelMap() 129 void ThreadTree::AddThreadMap(int pid, int tid, uint64_t start_addr, in AddThreadMap() argument 133 Dso* dso = FindUserDsoOrNew(filename, start_addr); in AddThreadMap() 135 AllocateMap(MapEntry(start_addr, len, pgoff, time, dso, false)); in AddThreadMap() 142 Dso* ThreadTree::FindUserDsoOrNew(const std::string& filename, uint64_t start_addr) { in FindUserDsoOrNew() argument 145 bool force_64bit = start_addr > UINT_MAX; in FindUserDsoOrNew() 160 if ((*it)->start_addr >= map->get_end_addr()) { in FixOverlappedMap() [all …]
|
D | thread_tree.h | 38 uint64_t start_addr; member 45 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time, in MapEntry() 47 : start_addr(start_addr), in MapEntry() 55 uint64_t get_end_addr() const { return start_addr + len; } in get_end_addr() 95 void AddKernelMap(uint64_t start_addr, uint64_t len, uint64_t pgoff, 97 void AddThreadMap(int pid, int tid, uint64_t start_addr, uint64_t len, 130 Dso* FindUserDsoOrNew(const std::string& filename, uint64_t start_addr = 0);
|
D | environment.cpp | 139 map.start_addr = addr; in GetLoadedModules() 146 if (map.start_addr != 0) { in GetLoadedModules() 204 kernel_mmap->start_addr = 0; in GetKernelAndModuleMmaps() 272 uint64_t start_addr, end_addr, pgoff; in GetThreadMmapsInProcess() local 276 if (sscanf(line, "%" PRIx64 "-%" PRIx64 " %s %" PRIx64 " %*x:%*x %*u %s\n", &start_addr, in GetThreadMmapsInProcess() 284 thread.start_addr = start_addr; in GetThreadMmapsInProcess() 285 thread.len = end_addr - start_addr; in GetThreadMmapsInProcess() 488 memcpy(&s[0], reinterpret_cast<void*>(static_cast<uintptr_t>(vdso_map->start_addr)), in PrepareVdsoFile()
|
D | environment.h | 43 uint64_t start_addr; member 51 uint64_t start_addr; member
|
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 | OfflineUnwinder.cpp | 139 bt_map.start = map->start_addr; in UnwindCallChain() 140 bt_map.end = map->start_addr + map->len; in UnwindCallChain()
|
D | report_lib_interface.cpp | 377 mapping->start = map.start_addr; in AddMapping() 378 mapping->end = map.start_addr + map.len; in AddMapping()
|
D | sample_tree_test.cpp | 68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
|
D | cmd_record.cpp | 924 MmapRecord mmap_record(attr, true, UINT_MAX, 0, kernel_mmap.start_addr, in DumpKernelAndModuleMmaps() 930 MmapRecord mmap_record(attr, true, UINT_MAX, 0, module_mmap.start_addr, in DumpKernelAndModuleMmaps() 979 MmapRecord record(attr, false, pid, pid, map.start_addr, map.len, in DumpThreadCommAndMmaps()
|
/system/extras/simpleperf/scripts/ |
D | report_html.py | 321 def __init__(self, lib_id, func_name, func_id, start_addr, addr_len): argument 325 self.start_addr = start_addr 638 addr2line.add_addr(lib_name, function.start_addr, function.start_addr) 639 addr2line.add_addr(lib_name, function.start_addr, 640 function.start_addr + function.addr_len - 1) 649 function.call_graph.func_id].start_addr 659 start_source = addr2line.get_addr_source(dso, function.start_addr) 661 function.start_addr + function.addr_len - 1) 704 code = objdump.disassemble_code(lib_name, function.start_addr, function.addr_len)
|
D | utils.py | 587 def disassemble_code(self, dso_path, start_addr, addr_len): argument 607 '--start-address=0x%x' % start_addr, 608 '--stop-address=0x%x' % (start_addr + addr_len),
|