Home
last modified time | relevance | path

Searched refs:DfxMaps (Results 1 - 23 of 23) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_maps.cpp40 #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 Ddfx_hap.cpp57 if (DfxMaps::IsArkHapMapItem(map->name)) { in ParseHapInfo()
H A Dunwinder.cpp58 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 Ddfx_elf.cpp124 if (!DfxMaps::IsLegalMapItem(file)) { in DfxElf()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_maps.h27 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 Dunwind_context.h31 class DfxMaps;
70 std::shared_ptr<DfxMaps> maps = nullptr;
H A Dunwinder.h56 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 Dmaps_benchmark.cpp26 #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 Delf_benchmark.cpp27 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 Dmaps_test.cpp54 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 Dinstr_statistic_test.cpp68 auto maps = DfxMaps::Create(pid); in HWTEST_F()
H A Dunwinder_pac_test.cpp61 auto maps = DfxMaps::Create(pid); in HWTEST_F()
H A Dunwinder_test.cpp299 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 Dmemory_test.cpp491 auto maps = DfxMaps::Create(pid); in HWTEST_F()
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_fault_stack.h45 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 Dprinter.h38 static void PrintProcessMapsByConfig(std::shared_ptr<DfxMaps> maps);
H A Ddfx_unwind_async_thread.cpp89 const std::shared_ptr<DfxMaps>& maps = unwinder_->GetMaps(); in GetSubmitterStack()
137 std::shared_ptr<DfxMaps> maps = unwinder_->GetMaps(); in UnwindThreadFallback()
H A Ddfx_fault_stack.cpp211 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 Dprinter.cpp136 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 Dsample_stack_printer.h47 SampleStackPrinter(std::shared_ptr<Unwinder> unwinder, std::shared_ptr<DfxMaps> maps) : unwinder_(unwinder), in SampleStackPrinter()
72 std::shared_ptr<DfxMaps> maps_;
H A Dthread_sampler.h53 DfxMaps* maps;
113 std::shared_ptr<DfxMaps> maps_ {nullptr};
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dfault_stack_test.cpp106 auto maps = DfxMaps::Create(childPid); in HWTEST_F()
/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/
H A Dthread_sampler.cpp213 maps_ = DfxMaps::Create(); in InitUnwinder()

Completed in 13 milliseconds