Home
last modified time | relevance | path

Searched refs:DfxFrame (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Dunwinder.h79 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 Ddfx_frame_formatter.h36 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 Ddfx_frame_formatter.cpp35 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 Dunwinder.cpp186 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 Ddfx_frame.h31 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 Ddfx_thread.h48 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 Ddfx_fault_stack.h43 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 Ddfx_unwind_async_thread.cpp62 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 Ddfx_thread.cpp73 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 Ddfx_unwind_async_thread.h36 void GetSubmitterStack(std::vector<DfxFrame> &submitterFrames);
39 void MergeStack(std::vector<DfxFrame> &submitterFrames);
H A Ddfx_fault_stack.cpp82 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 Ddfx_stack_info_formatter.cpp38 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 Ddfx_stack_info_formatter.h48 void FillNativeFrame(const DfxFrame& frame, Json::Value& jsonInfo) const;
H A Dprinter.h47 static bool IsLastValidFrame(const DfxFrame& frame);
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dfp_unwinder_test.cpp56 std::vector<DfxFrame> frames;
58 DfxFrame frame;
88 std::vector<DfxFrame> frames;
90 DfxFrame frame;
H A Dunwinder_test.cpp505 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 Dbacktrace_local_thread.h37 const std::vector<DfxFrame>& GetFrames() const;
38 void SetFrames(const std::vector<DfxFrame>& frames);
43 std::vector<DfxFrame> frames_;
H A Dbacktrace_local.cpp55 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 Dbacktrace_local_thread.cpp77 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 Dlock_parser_test.cpp128 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 Dunwind_local_benchmark.cpp131 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 Ddfx_kernel_stack.h27 std::vector<DfxFrame> frames;
H A Dbacktrace_local.h42 bool GetBacktraceFramesByTid(std::vector<DfxFrame>& frames, int32_t tid, size_t skipFrameNum, bool …
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/thread_sampler/
H A Dsample_stack_printer.cpp41 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 Dsample_stack_printer.h33 std::shared_ptr<DfxFrame> current;

12