Home
last modified time | relevance | path

Searched refs:MapEntry (Results 1 – 15 of 15) 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
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 …]
Dthread_tree.cpp111 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 …]
DOfflineUnwinder_impl.h31 std::vector<const MapEntry*> entries_;
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.cpp175 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()
Dcmd_report.cpp50 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()
DETMDecoder.cpp194 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()
DOfflineUnwinder_test.cpp46 std::vector<MapEntry> map_entries; in TEST()
DOfflineUnwinder.cpp122 static unwindstack::MapInfo* CreateMapInfo(const MapEntry* entry) { in CreateMapInfo()
148 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.cpp180 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.cpp580 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetCallEntry()
Dcmd_record.cpp1763 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))