Home | History | Annotate | Download | only in simpleperf

Lines Matching refs:MapEntry

31 bool MapComparator::operator()(const MapEntry* map1,
32 const MapEntry* map2) const {
109 MapEntry* map =
110 AllocateMap(MapEntry(start_addr, len, pgoff, time, dso, true));
134 MapEntry* map =
135 AllocateMap(MapEntry(start_addr, len, pgoff, time, dso, false));
151 MapEntry* ThreadTree::AllocateMap(const MapEntry& value) {
152 MapEntry* map = new MapEntry(value);
153 map_storage_.push_back(std::unique_ptr<MapEntry>(map));
157 void ThreadTree::FixOverlappedMap(MapSet* maps, const MapEntry* map) {
166 MapEntry* old = *it;
168 MapEntry* before = AllocateMap(
169 MapEntry(old->start_addr, map->start_addr - old->start_addr,
174 MapEntry* after = AllocateMap(MapEntry(
186 static bool IsAddrInMap(uint64_t addr, const MapEntry* map) {
190 static MapEntry* FindMapByAddr(const MapSet& maps, uint64_t addr) {
193 MapEntry find_map(addr, std::numeric_limits<uint64_t>::max(), 0,
202 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip,
204 MapEntry* result = nullptr;
213 const MapEntry* ThreadTree::FindMap(const ThreadEntry* thread, uint64_t ip) {
214 MapEntry* result = FindMapByAddr(*thread->maps, ip);
222 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip,
258 const MapEntry* map = FindMap(nullptr, ip, true);