/system/extras/simpleperf/ |
D | thread_tree.h | 42 struct MapEntry { struct 50 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, argument 58 MapEntry() {} in MapEntry() argument 75 std::map<uint64_t, const MapEntry*> maps; // Map from start_addr to a MapEntry. argument 78 const MapEntry* FindMapByAddr(uint64_t addr) const; 99 unknown_map_ = MapEntry(0, std::numeric_limits<unsigned long long>::max(), in ThreadTree() 116 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip, 119 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip); 120 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip, 150 const MapEntry* AllocateMap(const MapEntry& entry); [all …]
|
D | thread_tree.cpp | 111 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap() 131 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap() 147 const MapEntry* ThreadTree::AllocateMap(const MapEntry& entry) { in AllocateMap() 148 map_storage_.emplace_back(new MapEntry(entry)); in AllocateMap() 152 static MapEntry RemoveFirstPartOfMapEntry(const MapEntry* entry, uint64_t new_start_addr) { in RemoveFirstPartOfMapEntry() 153 MapEntry result = *entry; in RemoveFirstPartOfMapEntry() 160 static MapEntry RemoveSecondPartOfMapEntry(const MapEntry* entry, uint64_t new_len) { in RemoveSecondPartOfMapEntry() 161 MapEntry result = *entry; in RemoveSecondPartOfMapEntry() 168 void ThreadTree::InsertMap(MapSet& maps, const MapEntry& entry) { in InsertMap() 169 std::map<uint64_t, const MapEntry*>& map = maps.maps; in InsertMap() [all …]
|
D | OfflineUnwinder_impl.h | 31 std::vector<const MapEntry*> entries_;
|
D | thread_tree_test.cpp | 57 const MapEntry* entry = thread_tree_.FindMap(thread, i, false); in CheckMaps() 104 const MapEntry* map = thread_tree_.FindMap(thread, 0); in TEST_F()
|
D | report_lib_interface.cpp | 175 Mapping* AddMapping(const MapEntry& map); 307 std::vector<std::pair<uint64_t, const MapEntry*>> ip_maps; in SetCurrentSample() 309 auto is_map_for_interpreter = [](const MapEntry* map) { in SetCurrentSample() 314 const MapEntry* map = thread_tree_.FindMap(current_thread_, ips[i], i < kernel_ip_count); in SetCurrentSample() 334 const MapEntry* map = pair.second; in SetCurrentSample() 429 Mapping* ReportLib::AddMapping(const MapEntry& map) { in AddMapping()
|
D | cmd_report.cpp | 50 const MapEntry* map; 68 const MapEntry* map; 77 const MapEntry* map, const Symbol* symbol, uint64_t vaddr_in_file) in SampleEntry() 155 const MapEntry* map = in CreateSample() 170 const MapEntry* from_map = thread_tree_->FindMap(thread, item.from); in CreateBranchSample() 174 const MapEntry* to_map = thread_tree_->FindMap(thread, item.to); in CreateBranchSample() 192 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in CreateCallChainSample()
|
D | ETMDecoder.cpp | 194 const MapEntry* FindMap(uint8_t trace_id, uint64_t addr) { in FindMap() 221 const MapEntry* userspace_map = nullptr; 236 const MapEntry* map = map_locator_.FindMap(trace_id, address); in ReadTargetMemory() 282 const MapEntry* buffer_map = nullptr; 414 const MapEntry* map = map_locator_.FindMap(trace_id, elem.st_addr); in ProcessElement()
|
D | OfflineUnwinder_test.cpp | 46 std::vector<MapEntry> map_entries; in TEST()
|
D | OfflineUnwinder.cpp | 122 static unwindstack::MapInfo* CreateMapInfo(const MapEntry* entry) { in CreateMapInfo() 148 const MapEntry* entry = it->second; in UpdateMaps()
|
D | sample_tree_test.cpp | 66 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddSample()
|
D | cmd_dumprecord.cpp | 180 const MapEntry* map = thread_tree.FindMap(thread, ip, in_kernel); in DumpDataSection()
|
D | cmd_debug_unwind.cpp | 275 const MapEntry* map = thread_tree_.FindMap(thread, ip, false); in CollectHitFileInfo()
|
D | cmd_report_sample.cpp | 580 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetCallEntry()
|
D | cmd_record.cpp | 1763 const MapEntry* map = in CollectHitFileInfo()
|
/system/extras/simpleperf/scripts/ |
D | debug_unwind_reporter.py | 50 class MapEntry(object): class 95 key = MapEntry(addr, addr, '') 411 process_maps.add(pid, MapEntry(start, end, filename))
|