Home
last modified time | relevance | path

Searched refs:MapEntry (Results 1 – 13 of 13) sorted by relevance

/system/extras/simpleperf/
Dthread_tree.h42 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 …]
Dthread_tree.cpp98 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 …]
Dthread_tree_test.cpp57 const MapEntry* entry = thread_tree_.FindMap(thread, i, false); in CheckMaps()
104 const MapEntry* map = thread_tree_.FindMap(thread, 0); in TEST_F()
Dreport_lib_interface.cpp173 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()
DOfflineUnwinder.h65 std::vector<const MapEntry*> entries_;
Dcmd_report.cpp50 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()
DOfflineUnwinder.cpp119 static unwindstack::MapInfo* CreateMapInfo(const MapEntry* entry) { in CreateMapInfo()
146 const MapEntry* entry = it->second; in UpdateMaps()
Dsample_tree_test.cpp66 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddSample()
Dcmd_dumprecord.cpp172 const MapEntry* map = thread_tree.FindMap(thread, ip, in_kernel); in DumpDataSection()
Dcmd_debug_unwind.cpp275 const MapEntry* map = thread_tree_.FindMap(thread, ip, false); in CollectHitFileInfo()
Dcmd_report_sample.cpp585 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetCallEntry()
Dcmd_record.cpp1662 const MapEntry* map = in CollectHitFileInfo()
/system/extras/simpleperf/scripts/
Ddebug_unwind_reporter.py50 class MapEntry(object): class
95 key = MapEntry(addr, addr, '')
411 process_maps.add(pid, MapEntry(start, end, filename))