Searched refs:MapEntry (Results 1 – 13 of 13) sorted by relevance
/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 64 std::map<uint64_t, const MapEntry*> maps; // Map from start_addr to a MapEntry. argument 86 unknown_map_ = MapEntry(0, std::numeric_limits<unsigned long long>::max(), in ThreadTree() 100 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip, 103 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip); 104 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip, 135 const MapEntry* AllocateMap(const MapEntry& entry); 136 void InsertMap(MapSet& maps, const MapEntry& entry); [all …]
|
D | thread_tree.cpp | 98 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap() 118 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap() 134 const MapEntry* ThreadTree::AllocateMap(const MapEntry& entry) { in AllocateMap() 135 map_storage_.emplace_back(new MapEntry(entry)); in AllocateMap() 139 static MapEntry RemoveFirstPartOfMapEntry(const MapEntry* entry, uint64_t new_start_addr) { in RemoveFirstPartOfMapEntry() 140 MapEntry result = *entry; in RemoveFirstPartOfMapEntry() 147 static MapEntry RemoveSecondPartOfMapEntry(const MapEntry* entry, uint64_t new_len) { in RemoveSecondPartOfMapEntry() 148 MapEntry result = *entry; in RemoveSecondPartOfMapEntry() 155 void ThreadTree::InsertMap(MapSet& maps, const MapEntry& entry) { in InsertMap() 156 std::map<uint64_t, const MapEntry*>& map = maps.maps; in InsertMap() [all …]
|
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 | 173 Mapping* AddMapping(const MapEntry& map); 303 std::vector<std::pair<uint64_t, const MapEntry*>> ip_maps; in SetCurrentSample() 305 auto is_map_for_interpreter = [](const MapEntry* map) { in SetCurrentSample() 309 const MapEntry* map = thread_tree_.FindMap(current_thread_, ips[i], i < kernel_ip_count); in SetCurrentSample() 329 const MapEntry* map = pair.second; in SetCurrentSample() 407 Mapping* ReportLib::AddMapping(const MapEntry& map) { in AddMapping()
|
D | OfflineUnwinder.h | 65 std::vector<const MapEntry*> entries_;
|
D | cmd_report.cpp | 50 const MapEntry* map; 67 const MapEntry* map; 76 const MapEntry* map, const Symbol* symbol, uint64_t vaddr_in_file) in SampleEntry() 153 const MapEntry* map = in CreateSample() 168 const MapEntry* from_map = thread_tree_->FindMap(thread, item.from); in CreateBranchSample() 172 const MapEntry* to_map = thread_tree_->FindMap(thread, item.to); in CreateBranchSample() 191 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in CreateCallChainSample()
|
D | OfflineUnwinder.cpp | 119 static unwindstack::MapInfo* CreateMapInfo(const MapEntry* entry) { in CreateMapInfo() 146 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 | 172 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 | 585 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetCallEntry()
|
D | cmd_record.cpp | 1662 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))
|