Searched refs:MapEntry (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | thread_tree.h | 30 struct MapEntry { struct 37 MapEntry(uint64_t start_addr, uint64_t len, uint64_t pgoff, uint64_t time, Dso* dso) in MapEntry() argument 40 MapEntry() { in MapEntry() argument 49 bool operator()(const MapEntry* map1, const MapEntry* map2) const; argument 56 std::set<MapEntry*, MapComparator> maps; 64 MapEntry(0, std::numeric_limits<unsigned long long>::max(), 0, 0, unknown_dso_.get()); in ThreadTree() 74 const MapEntry* FindMap(const ThreadEntry* thread, uint64_t ip, bool in_kernel); 75 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip); 76 const MapEntry* UnknownMap() const { in UnknownMap() 85 MapEntry* AllocateMap(const MapEntry& value); [all …]
|
D | thread_tree.cpp | 29 bool MapComparator::operator()(const MapEntry* map1, const MapEntry* map2) const { in operator ()() 51 std::set<MapEntry*, MapComparator>(), // maps in AddThread() 90 MapEntry* map = AllocateMap(MapEntry(start_addr, len, pgoff, time, dso)); in AddKernelMap() 115 MapEntry* map = AllocateMap(MapEntry(start_addr, len, pgoff, time, dso)); in AddThreadMap() 130 MapEntry* ThreadTree::AllocateMap(const MapEntry& value) { in AllocateMap() 131 MapEntry* map = new MapEntry(value); in AllocateMap() 132 map_storage_.push_back(std::unique_ptr<MapEntry>(map)); in AllocateMap() 136 void ThreadTree::FixOverlappedMap(std::set<MapEntry*, MapComparator>* map_set, const MapEntry* map)… in FixOverlappedMap() argument 145 MapEntry* old = *it; in FixOverlappedMap() 147 MapEntry* before = AllocateMap(MapEntry(old->start_addr, map->start_addr - old->start_addr, in FixOverlappedMap() [all …]
|
D | sample_tree.cpp | 36 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddSample() 50 const MapEntry* from_map = thread_tree_->FindMap(thread, from_ip, false); in AddBranchSample() 55 const MapEntry* to_map = thread_tree_->FindMap(thread, to_ip, false); in AddBranchSample() 77 const MapEntry* map = thread_tree_->FindMap(thread, ip, in_kernel); in AddCallChainSample()
|
D | sample_tree.h | 33 const MapEntry* map; 49 const MapEntry* map; 55 uint64_t sample_count, const ThreadEntry* thread, const MapEntry* map, in SampleEntry()
|
D | cmd_record.cpp | 837 const MapEntry* map = thread_tree_.FindMap(thread, r.ip_data.ip, in_kernel); in CollectHitFileInfo()
|