/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_maps.cpp | 54 std::shared_ptr<DfxMaps> DfxMaps::Create(pid_t pid, bool crash) in Create() 60 auto dfxMaps = std::make_shared<DfxMaps>(); in Create() 71 std::shared_ptr<DfxMaps> DfxMaps::Create(const pid_t pid, const std::string& path) in Create() 73 auto dfxMaps = std::make_shared<DfxMaps>(); in Create() 86 auto dfxMaps = std::make_shared<DfxMaps>(); in Create() 96 bool DfxMaps::Parse(const pid_t pid, const std::string& path) in Parse() 158 void DfxMaps::UnFormatMapName(std::string& mapName) in UnFormatMapName() 169 bool DfxMaps::IsArkHapMapItem(const std::string& name) in IsArkHapMapItem() 180 bool DfxMaps::IsArkCodeMapItem(const std::string& name) in IsArkCodeMapItem() 277 void DfxMaps::Sort(bool less) in Sort() [all …]
|
H A D | libunwinder.map | 57 OHOS::HiviewDFX::DfxMaps::Create*; 58 OHOS::HiviewDFX::DfxMaps::ToString*; 59 OHOS::HiviewDFX::DfxMaps::FindMapByAddr*; 60 OHOS::HiviewDFX::DfxMaps::UnFormatMapName*; 61 OHOS::HiviewDFX::DfxMaps::FindMapsByName*; 62 OHOS::HiviewDFX::DfxMaps::GetStackRange*; 96 OHOS::HiviewDFX::DfxMaps::IsLegalMapItem*;
|
H A D | unwinder.cpp | 58 maps_ = DfxMaps::Create(); in Impl() 73 maps_ = DfxMaps::Create(pid, crash); in Impl() 86 maps_ = DfxMaps::Create(pid, crash); in Impl() 160 inline const std::shared_ptr<DfxMaps>& GetMaps() const in GetMaps() 195 bool GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame); 276 std::shared_ptr<DfxMaps> maps_ = nullptr; 340 const std::shared_ptr<DfxMaps>& Unwinder::GetMaps() const in GetMaps() 430 bool Unwinder::GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame) in GetFrameByPc() 1301 bool Unwinder::Impl::GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame &frame) in GetFrameByPc() 1379 bool Unwinder::GetSymbolByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, std::string& funcName, ui… in GetSymbolByPc()
|
H A D | dfx_frame_formatter.cpp | 64 DfxMaps::UnFormatMapName(frame->mapName); in GetFrameStr()
|
H A D | dfx_hap.cpp | 57 if (DfxMaps::IsArkHapMapItem(map->name)) { in ParseHapInfo()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_maps.h | 27 class DfxMaps { 29 DfxMaps() = default; 30 ~DfxMaps() = default; 32 static std::shared_ptr<DfxMaps> Create(pid_t pid = 0, bool crash = true); 33 static std::shared_ptr<DfxMaps> Create(pid_t pid, const std::string& path);
|
H A D | unwinder.h | 56 const std::shared_ptr<DfxMaps>& GetMaps() const; 85 bool GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame); 93 static bool GetSymbolByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps,
|
H A D | unwind_context.h | 31 class DfxMaps; variable 70 std::shared_ptr<DfxMaps> maps = nullptr;
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | maps_test.cpp | 54 void SetUp() { maps_ = DfxMaps::Create(getpid(), MAPS_FILE); } in SetUp() 58 std::shared_ptr<DfxMaps> maps_; 176 std::shared_ptr<DfxMaps> dfxMaps = DfxMaps::Create(getpid()); 253 ASSERT_TRUE(DfxMaps::IsArkHapMapItem(ARK_HAP_MAP_NAME)); 254 ASSERT_TRUE(DfxMaps::IsArkCodeMapItem(ARK_CODE_MAP_NAME)); 255 ASSERT_TRUE(DfxMaps::IsLegalMapItem(ARK_CODE_MAP_NAME));
|
H A D | unwinder_test.cpp | 299 auto maps = DfxMaps::Create(child); 338 auto maps = DfxMaps::Create(getpid()); 422 auto maps = DfxMaps::Create(child); 453 auto maps = DfxMaps::Create(getpid()); 910 std::shared_ptr<DfxMaps> maps = std::make_shared<DfxMaps>();
|
H A D | instr_statistic_test.cpp | 68 auto maps = DfxMaps::Create(pid);
|
H A D | unwinder_pac_test.cpp | 61 auto maps = DfxMaps::Create(pid);
|
H A D | memory_test.cpp | 491 auto maps = DfxMaps::Create(pid);
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | maps_benchmark.cpp | 39 auto dfxMaps = DfxMaps::Create(); in BenchmarkMapsCreateAll() 53 auto dfxMaps = DfxMaps::Create(0, false); in BenchmarkMapsCreateOnlyExec() 69 if (DfxMaps::Create(0, maps, mapIndex)) { in BenchmarkMapsCreateMapIndex()
|
H A D | elf_benchmark.cpp | 27 static void InitializeBuildId(benchmark::State& state, DfxMaps* dfxMaps, DfxMap** buildIdMap) in InitializeBuildId() 56 auto dfxMaps = DfxMaps::Create(); in BenchmarkElfGetBuildIdFromObj()
|
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_fault_stack.h | 45 void CollectRegistersBlock(std::shared_ptr<DfxRegs> regs, std::shared_ptr<DfxMaps> maps); 46 bool ParseUnwindStack(std::shared_ptr<DfxMaps> maps, std::vector<DfxFrame>& frames);
|
H A D | dfx_unwind_async_thread.cpp | 89 const std::shared_ptr<DfxMaps>& maps = unwinder_->GetMaps(); in GetSubmitterStack() 137 std::shared_ptr<DfxMaps> maps = unwinder_->GetMaps(); in UnwindThreadFallback()
|
H A D | printer.h | 38 static void PrintProcessMapsByConfig(std::shared_ptr<DfxMaps> maps);
|
H A D | dfx_fault_stack.cpp | 211 void FaultStack::CollectRegistersBlock(std::shared_ptr<DfxRegs> regs, std::shared_ptr<DfxMaps> maps) in CollectRegistersBlock() 277 bool FaultStack::ParseUnwindStack(std::shared_ptr<DfxMaps> maps, std::vector<DfxFrame>& frames) in ParseUnwindStack()
|
H A D | printer.cpp | 119 std::shared_ptr<DfxMaps> maps = unwinder->GetMaps(); in PrintReason() 148 void Printer::PrintProcessMapsByConfig(std::shared_ptr<DfxMaps> maps) in PrintProcessMapsByConfig()
|
H A D | dfx_stack_info_formatter.cpp | 192 DfxMaps::UnFormatMapName(strippedMapName); in FillNativeFrame()
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/include/ |
H A D | sample_stack_printer.h | 47 …SampleStackPrinter(std::shared_ptr<Unwinder> unwinder, std::shared_ptr<DfxMaps> maps) : unwinder_(… in SampleStackPrinter() 72 std::shared_ptr<DfxMaps> maps_;
|
H A D | thread_sampler.h | 53 DfxMaps* maps; 111 std::shared_ptr<DfxMaps> maps_ {nullptr};
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | fault_stack_test.cpp | 104 auto maps = DfxMaps::Create(childPid);
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/ |
H A D | thread_sampler.cpp | 193 maps_ = DfxMaps::Create(); in InitUnwinder()
|