/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | unwinder.h | 79 void AddFrame(DfxFrame& frame); 80 const std::vector<DfxFrame>& GetFrames() const; 82 void FillFrames(std::vector<DfxFrame>& frames); 83 void FillFrame(DfxFrame& frame); 84 void FillJsFrame(DfxFrame& frame); 85 bool GetFrameByPc(uintptr_t pc, std::shared_ptr<DfxMaps> maps, DfxFrame& frame); 86 void GetFramesByPcs(std::vector<DfxFrame>& frames, std::vector<uintptr_t> pcs); 91 void SetFrames(std::vector<DfxFrame>& frames); 95 static void GetLocalFramesByPcs(std::vector<DfxFrame>& frames, std::vector<uintptr_t> pcs); 96 static std::string GetFramesStr(const std::vector<DfxFrame>& frames); [all …]
|
H A D | dfx_frame_formatter.h | 36 static std::string GetFrameStr(const DfxFrame& frame); 44 static std::string GetFrameStr(const std::shared_ptr<DfxFrame>& frame); 52 static std::string GetFramesStr(const std::vector<DfxFrame>& frames); 60 static std::string GetFramesStr(const std::vector<std::shared_ptr<DfxFrame>>& frames); 68 … static std::vector<std::shared_ptr<DfxFrame>> ConvertFrames(const std::vector<DfxFrame>& frames);
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_frame_formatter.cpp | 35 std::string DfxFrameFormatter::GetFrameStr(const DfxFrame& frame) in GetFrameStr() 37 return GetFrameStr(std::make_shared<DfxFrame>(frame)); in GetFrameStr() 40 std::string DfxFrameFormatter::GetFrameStr(const std::shared_ptr<DfxFrame>& frame) in GetFrameStr() 84 std::string DfxFrameFormatter::GetFramesStr(const std::vector<DfxFrame>& frames) in GetFramesStr() 96 std::string DfxFrameFormatter::GetFramesStr(const std::vector<std::shared_ptr<DfxFrame>>& frames) in GetFramesStr() 108 std::vector<std::shared_ptr<DfxFrame>> DfxFrameFormatter::ConvertFrames(const std::vector<DfxFrame>… in ConvertFrames() 110 std::vector<std::shared_ptr<DfxFrame>> pFrames; in ConvertFrames() 112 pFrames.emplace_back(std::make_shared<DfxFrame>(frame)); in ConvertFrames()
|
H A D | unwinder.cpp | 186 void AddFrame(DfxFrame& frame); 193 void FillFrame(DfxFrame& frame); 194 void FillJsFrame(DfxFrame& frame); 278 std::vector<DfxFrame> frames_ {}; 400 void Unwinder::AddFrame(DfxFrame& frame) in AddFrame() 420 void Unwinder::FillFrame(DfxFrame& frame) in FillFrame() 425 void Unwinder::FillJsFrame(DfxFrame& frame) in FillJsFrame() 710 DfxFrame dfxFrame; in StepArkJsFrame() 1167 DfxFrame dfxFrame; in AddFrame() 1351 DfxFrame frame; in GetFramesByPcs() [all …]
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | dfx_frame.h | 31 struct DfxFrame { struct 63 DfxFrame() {} in DfxFrame() function 64 DfxFrame(uint64_t pc, uint64_t sp = 0) : pc(pc), sp(sp) {} 66 DfxFrame(uint64_t pc, uint64_t funcOffset, const char *mapName, const char *funcName) in DfxFrame() function 69 bool operator==(const DfxFrame &b) const 73 bool operator!=(const DfxFrame &b) const
|
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_thread.h | 48 void AddFrame(DfxFrame& frame); 49 const std::vector<DfxFrame>& GetFrames() const; 50 void SetFrames(const std::vector<DfxFrame>& frames); 71 std::vector<DfxFrame> frames_;
|
H A D | dfx_fault_stack.h | 43 bool CollectStackInfo(const std::vector<DfxFrame>& frames, bool needParseStack = false); 44 …bool CreateBlockForCorruptedStack(const std::vector<DfxFrame>& frames, uintptr_t prevEndAddr, uint… 46 bool ParseUnwindStack(std::shared_ptr<DfxMaps> maps, std::vector<DfxFrame>& frames);
|
H A D | dfx_unwind_async_thread.cpp | 62 std::vector<DfxFrame> submmiterFrames; in UnwindStack() 84 void DfxUnwindAsyncThread::GetSubmitterStack(std::vector<DfxFrame> &submitterFrames) in GetSubmitterStack() 117 void DfxUnwindAsyncThread::MergeStack(std::vector<DfxFrame> &submitterFrames) in MergeStack() 146 DfxFrame frame; in UnwindThreadFallback()
|
H A D | dfx_thread.cpp | 73 void DfxThread::AddFrame(DfxFrame& frame) in AddFrame() 78 const std::vector<DfxFrame>& DfxThread::GetFrames() const in GetFrames() 147 void DfxThread::SetFrames(const std::vector<DfxFrame>& frames) in SetFrames()
|
H A D | dfx_unwind_async_thread.h | 36 void GetSubmitterStack(std::vector<DfxFrame> &submitterFrames); 39 void MergeStack(std::vector<DfxFrame> &submitterFrames);
|
H A D | dfx_fault_stack.cpp | 82 bool FaultStack::CollectStackInfo(const std::vector<DfxFrame>& frames, bool needParseStack) in CollectStackInfo() 131 bool FaultStack::CreateBlockForCorruptedStack(const std::vector<DfxFrame>& frames, uintptr_t prevEn… in CreateBlockForCorruptedStack() 277 bool FaultStack::ParseUnwindStack(std::shared_ptr<DfxMaps> maps, std::vector<DfxFrame>& frames) in ParseUnwindStack() 291 DfxFrame frame; in ParseUnwindStack()
|
H A D | dfx_stack_info_formatter.cpp | 38 void FillJsFrame(const DfxFrame& frame, Json::Value& jsonInfo) in FillJsFrame() 176 void DfxStackInfoFormatter::FillNativeFrame(const DfxFrame& frame, Json::Value& jsonInfo) const in FillNativeFrame()
|
H A D | dfx_stack_info_formatter.h | 48 void FillNativeFrame(const DfxFrame& frame, Json::Value& jsonInfo) const;
|
H A D | printer.h | 47 static bool IsLastValidFrame(const DfxFrame& frame);
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | fp_unwinder_test.cpp | 56 std::vector<DfxFrame> frames; 58 DfxFrame frame; 88 std::vector<DfxFrame> frames; 90 DfxFrame frame;
|
H A D | unwinder_test.cpp | 505 std::vector<DfxFrame> frames; 669 DfxFrame frame; 702 DfxFrame frame; 730 std::vector<DfxFrame> frames; 731 DfxFrame frame; 822 std::vector<DfxFrame> frames; 954 DfxFrame frame; 971 std::shared_ptr<DfxFrame> frame = nullptr; 974 std::vector<std::shared_ptr<DfxFrame>> frames;
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/ |
H A D | backtrace_local_thread.h | 37 const std::vector<DfxFrame>& GetFrames() const; 38 void SetFrames(const std::vector<DfxFrame>& frames); 43 std::vector<DfxFrame> frames_;
|
H A D | backtrace_local.cpp | 55 bool GetBacktraceFramesByTid(std::vector<DfxFrame>& frames, int32_t tid, size_t skipFrameNum, bool … in GetBacktraceFramesByTid() 76 std::vector<DfxFrame> frames; in GetBacktraceStringByTid() 98 std::vector<DfxFrame> frames; in PrintBacktrace()
|
H A D | backtrace_local_thread.cpp | 77 void BacktraceLocalThread::SetFrames(const std::vector<DfxFrame>& frames) in SetFrames() 82 const std::vector<DfxFrame>& BacktraceLocalThread::GetFrames() const in GetFrames()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | lock_parser_test.cpp | 128 std::vector<DfxFrame> frames; 182 std::vector<DfxFrame> frames; 232 std::vector<DfxFrame> frames; 271 std::vector<DfxFrame> frames; 312 std::vector<DfxFrame> frames;
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/benchmarktest/unwinder/ |
H A D | unwind_local_benchmark.cpp | 131 std::vector<DfxFrame> frames; in UnwinderLocalFp() 133 DfxFrame frame; in UnwinderLocalFp() 154 std::vector<DfxFrame> frames; in FpUnwinderLocal() 156 DfxFrame frame; in FpUnwinderLocal() 177 std::vector<DfxFrame> frames; in FpUnwinderLocalSafe() 179 DfxFrame frame; in FpUnwinderLocalSafe()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/include/ |
H A D | dfx_kernel_stack.h | 27 std::vector<DfxFrame> frames;
|
H A D | backtrace_local.h | 42 bool GetBacktraceFramesByTid(std::vector<DfxFrame>& frames, int32_t tid, size_t skipFrameNum, bool …
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/ |
H A D | sample_stack_printer.cpp | 41 curNode->current = std::make_shared<DfxFrame>(); in Insert() 132 std::vector<DfxFrame> frames = taf.frameList; in GetFullStack()
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/include/ |
H A D | sample_stack_printer.h | 33 std::shared_ptr<DfxFrame> current;
|