/system/core/libunwindstack/ |
D | Maps.cpp | 43 if (maps_.empty()) { in Find() 47 size_t last = maps_.size(); in Find() 50 const auto& cur = maps_[index]; in Find() 70 maps_.emplace_back( in Parse() 71 new MapInfo(maps_.empty() ? nullptr : maps_.back().get(), start, end, pgoff, in Parse() 79 std::make_unique<MapInfo>(maps_.empty() ? nullptr : maps_.back().get(), start, end, offset, in Add() 82 maps_.emplace_back(std::move(map_info)); in Add() 86 std::sort(maps_.begin(), maps_.end(), in Sort() 92 for (const auto& map_info : maps_) { in Sort() 107 maps_.emplace_back( in Parse() [all …]
|
D | LocalUnwinder.cpp | 50 maps_.reset(new unwindstack::LocalUpdatableMaps()); in Init() 51 if (!maps_->Parse()) { in Init() 52 maps_.reset(); in Init() 72 MapInfo* map_info = maps_->Find(pc); in GetMapInfo() 79 if (maps_->Reparse()) { in GetMapInfo() 80 map_info = maps_->Find(pc); in GetMapInfo()
|
D | Unwinder.cpp | 62 MapInfo* info = maps_->Find(dex_pc); in FillInDexFrame() 88 dex_files_->GetMethodInformation(maps_, info, dex_pc, &frame->function_name, in FillInDexFrame() 155 MapInfo* map_info = maps_->Find(regs_->pc()); in Unwind() 192 Elf* jit_elf = jit_debug_->GetElf(maps_, adjusted_jit_pc); in Unwind() 235 MapInfo* sp_info = maps_->Find(regs_->sp()); in Unwind() 277 if (frames_.size() > 2 || (frames_.size() > 0 && maps_->Find(frames_[0].pc) != nullptr)) { in Unwind() 337 MapInfo* map_info = maps_->Find(frame.map_start); in FormatFrame() 375 maps_ = maps_ptr_.get(); in Init()
|
D | Memory.cpp | 328 maps_.emplace(memory->offset() + memory->length(), memory); in Insert() 332 auto entry = maps_.upper_bound(addr); in Read() 333 if (entry != maps_.end()) { in Read()
|
/system/core/libunwindstack/tests/ |
D | DexFilesTest.cpp | 54 maps_.reset( in Init() 64 ASSERT_TRUE(maps_->Parse()); in Init() 67 MapInfo* map_info = maps_->Get(kMapGlobalNonReadable); in Init() 72 map_info = maps_->Get(kMapGlobalSetToZero); in Init() 77 map_info = maps_->Get(kMapGlobal); in Init() 105 std::unique_ptr<BufferMaps> maps_; member in unwindstack::DexFilesTest 147 MapInfo* info = maps_->Get(kMapDexFileEntries); in TEST_F() 149 dex_files_->GetMethodInformation(maps_.get(), info, 0, &method_name, &method_offset); in TEST_F() 157 MapInfo* info = maps_->Get(kMapDexFiles); in TEST_F() 163 dex_files_->GetMethodInformation(maps_.get(), info, 0x300100, &method_name, &method_offset); in TEST_F() [all …]
|
D | JitDebugTest.cpp | 52 maps_.reset( in Init() 63 ASSERT_TRUE(maps_->Parse()); in Init() 65 MapInfo* map_info = maps_->Get(3); in Init() 69 map_info = maps_->Get(5); in Init() 73 map_info = maps_->Get(7); in Init() 172 std::unique_ptr<BufferMaps> maps_; member in unwindstack::JitDebugTest 241 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() 246 maps_.reset(new BufferMaps("")); in TEST_F() 247 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() 254 Elf* elf = jit_debug_->GetElf(maps_.get(), 0x1500); in TEST_F() [all …]
|
D | UnwinderTest.cpp | 50 maps_->Add(start, end, offset, flags, name, static_cast<uint64_t>(-1)); in AddMapInfo() 52 const auto& map_info = *--maps_->end(); in AddMapInfo() 58 maps_.reset(new Maps); in SetUpTestCase() 88 MapInfo* map_info = maps_->Find(0x43000); in SetUpTestCase() 95 const auto& info = *--maps_->end(); in SetUpTestCase() 108 const auto& info2 = *--maps_->end(); in SetUpTestCase() 114 const auto& info3 = *--maps_->end(); in SetUpTestCase() 120 const auto& info4 = *--maps_->end(); in SetUpTestCase() 126 const auto& info5 = *--maps_->end(); in SetUpTestCase() 132 const auto& info6 = *--maps_->end(); in SetUpTestCase() [all …]
|
D | UnwindOfflineTest.cpp | 71 maps_.reset(new BufferMaps(data.c_str())); in Init() 72 ASSERT_TRUE(maps_->Parse()); in Init() 158 std::unique_ptr<Maps> maps_; member in unwindstack::UnwindOfflineTest 208 Unwinder unwinder(128, maps_.get(), regs_.get(), process_memory_); in TEST_F() 248 Unwinder unwinder(128, maps_.get(), regs_.get(), process_memory_); in TEST_F() 269 Unwinder unwinder(128, maps_.get(), regs_.get(), process_memory_); in TEST_F() 311 Unwinder unwinder(128, maps_.get(), regs_.get(), process_memory_); in TEST_F() 613 Unwinder unwinder(128, maps_.get(), regs_.get(), process_memory_); in TEST_F() 955 LeakType data(maps_.get(), regs_.get(), process_memory_); in TEST_F() 965 Unwinder unwinder(128, maps_.get(), regs_.get(), process_memory_); in TEST_F() [all …]
|
/system/core/libunwindstack/include/unwindstack/ |
D | Maps.h | 64 iterator begin() { return maps_.begin(); } in begin() 65 iterator end() { return maps_.end(); } in end() 68 const_iterator begin() const { return maps_.begin(); } in begin() 69 const_iterator end() const { return maps_.end(); } in end() 71 size_t Total() { return maps_.size(); } in Total() 74 if (index >= maps_.size()) return nullptr; in Get() 75 return maps_[index].get(); in Get() 79 std::vector<std::unique_ptr<MapInfo>> maps_;
|
D | Unwinder.h | 67 : max_frames_(max_frames), maps_(maps), regs_(regs), process_memory_(process_memory) { in Unwinder() 71 : max_frames_(max_frames), maps_(maps), process_memory_(process_memory) { in Unwinder() 96 Maps* GetMaps() { return maps_; } in GetMaps() 126 Maps* maps_; variable
|
D | LocalUnwinder.h | 78 std::unique_ptr<LocalUpdatableMaps> maps_ = nullptr; variable
|
D | Memory.h | 165 std::map<uint64_t, std::unique_ptr<MemoryRange>> maps_;
|
/system/core/libmeminfo/ |
D | procmeminfo.cpp | 117 if (maps_.empty() && !ReadMaps(get_wss_)) { in Maps() 121 return maps_; in Maps() 125 if (maps_.empty() && !ReadMaps(get_wss_, true)) { in MapsWithPageIdle() 129 return maps_; in MapsWithPageIdle() 133 if (!maps_.empty()) { in Smaps() 134 return maps_; in Smaps() 137 auto collect_vmas = [&](const Vma& vma) { maps_.emplace_back(vma); }; in Smaps() 140 maps_.clear(); in Smaps() 145 maps_.clear(); in Smaps() 148 return maps_; in Smaps() [all …]
|
/system/core/libbacktrace/ |
D | BacktraceMap.cpp | 119 maps_.push_back(map); in Build() 127 maps_.resize(maps_.size() + 1); in Build() 128 backtrace_map_t& map = maps_.back(); in Build()
|
D | UnwindStackMap.cpp | 68 maps_.push_back(map); in Build() 143 maps_.push_back(map); in Build() 146 std::sort(maps_.begin(), maps_.end(), in Build() 151 for (const backtrace_map_t& map : maps_) { in Build()
|
D | UnwindMap.cpp | 65 maps_.push_front(map); in GenerateMap() 96 maps_.clear(); in GenerateMap() 116 maps_.push_front(map); in GenerateMap()
|
/system/core/libbacktrace/include/backtrace/ |
D | BacktraceMap.h | 104 backtrace_map_t* map = &map_->maps_[index_]; 117 iterator end() { return iterator(this, maps_.size()); } in end() 147 size_t size() const { return maps_.size(); } in size() 174 std::deque<backtrace_map_t> maps_; variable
|
/system/extras/simpleperf/ |
D | OfflineUnwinder.cpp | 153 maps_.emplace_back(CreateMapInfo(entry)); in UpdateMaps() 158 maps_[i++] = nullptr; in UpdateMaps() 163 maps_[i++] = nullptr; in UpdateMaps() 171 std::sort(maps_.begin(), maps_.end(), in UpdateMaps() 179 maps_.resize(map_set.maps.size()); in UpdateMaps()
|
D | inplace_sampler_lib.cpp | 90 std::map<uint64_t, ThreadMmap> maps_; member in __anon56195e7e0111::SampleManager 273 auto it = maps_.find(map.start_addr); in CheckMapChange() 274 if (it == maps_.end() || it->second.len != map.len || it->second.pgoff != map.pgoff || in CheckMapChange() 276 maps_[map.start_addr] = map; in CheckMapChange()
|
/system/core/libmeminfo/include/meminfo/ |
D | procmeminfo.h | 99 std::vector<Vma> maps_; variable
|