Home
last modified time | relevance | path

Searched refs:DfxMaps (Results 1 – 25 of 26) sorted by relevance

12

/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_maps.cpp54 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 Dlibunwinder.map57 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 Dunwinder.cpp58 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 Ddfx_frame_formatter.cpp64 DfxMaps::UnFormatMapName(frame->mapName); in GetFrameStr()
H A Ddfx_hap.cpp57 if (DfxMaps::IsArkHapMapItem(map->name)) { in ParseHapInfo()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_maps.h27 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 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,
H A Dunwind_context.h31 class DfxMaps; variable
70 std::shared_ptr<DfxMaps> maps = nullptr;
/ohos5.0/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());
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 Dunwinder_test.cpp299 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 Dinstr_statistic_test.cpp68 auto maps = DfxMaps::Create(pid);
H A Dunwinder_pac_test.cpp61 auto maps = DfxMaps::Create(pid);
H A Dmemory_test.cpp491 auto maps = DfxMaps::Create(pid);
/ohos5.0/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/
H A Dmaps_benchmark.cpp39 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()
/ohos5.0/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 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 Dprinter.h38 static void PrintProcessMapsByConfig(std::shared_ptr<DfxMaps> maps);
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.cpp119 std::shared_ptr<DfxMaps> maps = unwinder->GetMaps(); in PrintReason()
148 void Printer::PrintProcessMapsByConfig(std::shared_ptr<DfxMaps> maps) in PrintProcessMapsByConfig()
H A Ddfx_stack_info_formatter.cpp192 DfxMaps::UnFormatMapName(strippedMapName); in FillNativeFrame()
/ohos5.0/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_(… in SampleStackPrinter()
72 std::shared_ptr<DfxMaps> maps_;
H A Dthread_sampler.h53 DfxMaps* maps;
111 std::shared_ptr<DfxMaps> maps_ {nullptr};
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Dfault_stack_test.cpp104 auto maps = DfxMaps::Create(childPid);
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/
H A Dthread_sampler.cpp193 maps_ = DfxMaps::Create(); in InitUnwinder()

12