Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dthread_tree.h40 struct MapEntry { struct
48 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, Dso* dso, bool in_kernel, argument
56 MapEntry() {} in MapEntry() argument
71 std::map<uint64_t, const MapEntry*> maps; // Map from start_addr to a MapEntry. argument
74 const MapEntry* FindMapByAddr(uint64_t addr) const;
97 MapEntry(0, std::numeric_limits<unsigned long long>::max(), 0, unknown_dso_.get(), false); in ThreadTree()
117 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel);
119 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip);
120 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file,
149 const MapEntry* AllocateMap(const MapEntry& entry);
[all …]
Dthread_tree.cpp137 InsertMap(kernel_maps_, MapEntry(start_addr, len, pgoff, dso, true)); in AddKernelMap()
162 InsertMap(*thread->maps, MapEntry(start_addr, len, pgoff, dso, false, flags)); in AddThreadMap()
180 InsertMap(*maps, MapEntry(map_start, map_end - map_start, map_start, dso, false, 0)); in AddThreadMapsForDsoSymbols()
190 InsertMap(*maps, MapEntry(map_start, map_end - map_start, map_start, dso, false, 0)); in AddThreadMapsForDsoSymbols()
217 const MapEntry* ThreadTree::AllocateMap(const MapEntry& entry) { in AllocateMap()
218 map_storage_.emplace_back(new MapEntry(entry)); in AllocateMap()
222 static MapEntry RemoveFirstPartOfMapEntry(const MapEntry* entry, uint64_t new_start_addr) { in RemoveFirstPartOfMapEntry()
223 MapEntry result = *entry; in RemoveFirstPartOfMapEntry()
230 static MapEntry RemoveSecondPartOfMapEntry(const MapEntry* entry, uint64_t new_len) { in RemoveSecondPartOfMapEntry()
231 MapEntry result = *entry; in RemoveSecondPartOfMapEntry()
[all …]
Dthread_tree_test.cpp59 const MapEntry* entry = thread_tree_.FindMap(thread, i, false); in CheckMaps()
112 const MapEntry* map = thread_tree_.FindMap(thread, 0); in TEST_F()
DOfflineUnwinder_impl.h32 std::vector<const MapEntry*> entries_;
Dreport_utils.h45 const MapEntry* map = nullptr;
Dcmd_debug_unwind.cpp313 const MapEntry* old_map = p.second; in CreateThreadWithUpdatedMaps()
314 MapEntry* map = nullptr; in CreateThreadWithUpdatedMaps()
317 map_storage_.emplace_back(new MapEntry); in CreateThreadWithUpdatedMaps()
327 map = const_cast<MapEntry*>(p.second); in CreateThreadWithUpdatedMaps()
337 std::vector<std::unique_ptr<MapEntry>> map_storage_;
395 const MapEntry* map = thread_tree_.FindMap(thread, ips[i], false); in WriteMapsForSample()
Dcmd_report.cpp56 const MapEntry* map;
74 const MapEntry* map;
82 int cpu, const ThreadEntry* thread, const MapEntry* map, const Symbol* symbol, in SampleEntry()
168 const MapEntry* map = thread_tree_->FindMap(thread, r.ip_data.ip, in_kernel); in CreateSample()
179 const MapEntry* from_map = thread_tree_->FindMap(thread, item.from); in CreateBranchSample()
182 const MapEntry* to_map = thread_tree_->FindMap(thread, item.to); in CreateBranchSample()
199 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in CreateCallChainSample()
DETMDecoder.cpp202 const MapEntry* FindMap(uint8_t trace_id, uint64_t addr) { in FindMap()
229 const MapEntry* userspace_map = nullptr;
244 const MapEntry* map = map_locator_.FindMap(trace_id, address); in ReadTargetMemory()
297 const MapEntry* buffer_map = nullptr;
429 const MapEntry* map = map_locator_.FindMap(trace_id, elem.st_addr); in ProcessElement()
583 const MapEntry* map = map_locator_.FindMap(trace_id, data.addr); in ProcessAtomPacket()
DOfflineUnwinder_test.cpp50 std::vector<MapEntry> map_entries; in TEST()
DOfflineUnwinder.cpp144 static unwindstack::MapInfo* CreateMapInfo(const MapEntry* entry) { in CreateMapInfo()
180 const MapEntry* entry = it->second; in UpdateMaps()
Dsample_tree_test.cpp67 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddSample()
Dreport_lib_interface.cpp157 Mapping* AddMapping(const MapEntry& map);
361 Mapping* ReportLib::AddMapping(const MapEntry& map) { in AddMapping()
Dreport_utils.cpp96 const MapEntry* map = thread_tree_.FindMap(thread, ips[i], i < kernel_ip_count); in Build()
Dcmd_monitor.cpp566 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetSymbolInfo()
Dcmd_dumprecord.cpp413 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetSymbolInfo()
Dcmd_record_test.cpp865 const MapEntry* map = thread_tree.FindMap(thread, ip, false); in TEST()
Dcmd_record.cpp1970 const MapEntry* map = thread_tree_.FindMap(thread, ips[i], i < kernel_ip_count); in CollectHitFileInfo()