/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_maps.cpp | 40 #define LOG_TAG "DfxMaps" 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() 80 bool DfxMaps::Create(const pid_t pid, std::vector<std::shared_ptr<DfxMap>>& maps, std::vector<int>& mapIndex) in Create() 86 auto dfxMaps = std::make_shared<DfxMaps>(); in Create() 96 bool DfxMaps [all...] |
H A D | dfx_hap.cpp | 57 if (DfxMaps::IsArkHapMapItem(map->name)) { in ParseHapInfo()
|
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() 153 inline const std::shared_ptr<DfxMaps>& GetMaps() const in GetMaps() 188 bool GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame); 265 std::shared_ptr<DfxMaps> maps_ = nullptr; 329 const std::shared_ptr<DfxMaps>& Unwinder::GetMaps() const in GetMaps() 419 bool Unwinder::GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame) in GetFrameByPc() 1279 bool Unwinder::Impl::GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame &frame) in GetFrameByPc() 1357 bool Unwinder::GetSymbolByPc(uintptr_t pc, std::shared_ptr<DfxMaps> map [all...] |
H A D | dfx_elf.cpp | 124 if (!DfxMaps::IsLegalMapItem(file)) {
in DfxElf()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_maps.h | 27 class DfxMaps { class 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 | unwind_context.h | 31 class DfxMaps; 70 std::shared_ptr<DfxMaps> maps = nullptr;
|
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,
|
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | maps_benchmark.cpp | 26 #define LOG_TAG "DfxMaps"
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()
|
/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()); in HWTEST_F() 253 ASSERT_TRUE(DfxMaps::IsArkHapMapItem(ARK_HAP_MAP_NAME)); in HWTEST_F() 254 ASSERT_TRUE(DfxMaps::IsArkCodeMapItem(ARK_CODE_MAP_NAME)); in HWTEST_F() 255 ASSERT_TRUE(DfxMaps::IsLegalMapItem(ARK_CODE_MAP_NAME)); in HWTEST_F()
|
H A D | instr_statistic_test.cpp | 68 auto maps = DfxMaps::Create(pid); in HWTEST_F()
|
H A D | unwinder_pac_test.cpp | 61 auto maps = DfxMaps::Create(pid); in HWTEST_F()
|
H A D | unwinder_test.cpp | 299 auto maps = DfxMaps::Create(child); in HWTEST_F() 338 auto maps = DfxMaps::Create(getpid()); in HWTEST_F() 422 auto maps = DfxMaps::Create(child); in HWTEST_F() 453 auto maps = DfxMaps::Create(getpid()); in HWTEST_F() 911 std::shared_ptr<DfxMaps> maps = std::make_shared<DfxMaps>(); in HWTEST_F()
|
H A D | memory_test.cpp | 491 auto maps = DfxMaps::Create(pid); in HWTEST_F()
|
/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 | printer.h | 38 static void PrintProcessMapsByConfig(std::shared_ptr<DfxMaps> maps);
|
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 | 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 | 136 std::shared_ptr<DfxMaps> maps = unwinder->GetMaps(); in PrintReason() 158 void Printer::PrintProcessMapsByConfig(std::shared_ptr<DfxMaps> maps) in PrintProcessMapsByConfig()
|
/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_(unwinder),
in SampleStackPrinter() 72 std::shared_ptr<DfxMaps> maps_;
|
H A D | thread_sampler.h | 53 DfxMaps* maps;
113 std::shared_ptr<DfxMaps> maps_ {nullptr};
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | fault_stack_test.cpp | 106 auto maps = DfxMaps::Create(childPid); in HWTEST_F()
|
/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/ |
H A D | thread_sampler.cpp | 213 maps_ = DfxMaps::Create();
in InitUnwinder()
|