/system/extras/simpleperf/ |
D | thread_tree.h | 40 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 …]
|
D | thread_tree.cpp | 137 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 …]
|
D | thread_tree_test.cpp | 59 const MapEntry* entry = thread_tree_.FindMap(thread, i, false); in CheckMaps() 112 const MapEntry* map = thread_tree_.FindMap(thread, 0); in TEST_F()
|
D | OfflineUnwinder_impl.h | 32 std::vector<const MapEntry*> entries_;
|
D | report_utils.h | 45 const MapEntry* map = nullptr;
|
D | cmd_debug_unwind.cpp | 313 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()
|
D | cmd_report.cpp | 56 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()
|
D | ETMDecoder.cpp | 202 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()
|
D | OfflineUnwinder_test.cpp | 50 std::vector<MapEntry> map_entries; in TEST()
|
D | OfflineUnwinder.cpp | 144 static unwindstack::MapInfo* CreateMapInfo(const MapEntry* entry) { in CreateMapInfo() 180 const MapEntry* entry = it->second; in UpdateMaps()
|
D | sample_tree_test.cpp | 67 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddSample()
|
D | report_lib_interface.cpp | 157 Mapping* AddMapping(const MapEntry& map); 361 Mapping* ReportLib::AddMapping(const MapEntry& map) { in AddMapping()
|
D | report_utils.cpp | 96 const MapEntry* map = thread_tree_.FindMap(thread, ips[i], i < kernel_ip_count); in Build()
|
D | cmd_monitor.cpp | 566 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetSymbolInfo()
|
D | cmd_dumprecord.cpp | 413 const MapEntry* map = thread_tree_.FindMap(thread, ip, in_kernel); in GetSymbolInfo()
|
D | cmd_record_test.cpp | 865 const MapEntry* map = thread_tree.FindMap(thread, ip, false); in TEST()
|
D | cmd_record.cpp | 1970 const MapEntry* map = thread_tree_.FindMap(thread, ips[i], i < kernel_ip_count); in CollectHitFileInfo()
|