/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/ |
D | catchframe_local.cpp | 114 std::vector<DfxFrame> frames; in CatchFrame() local 117 CatchFrameCurrTid(frames, releaseThread); in CatchFrame() 119 CatchFrameLocalTid(nstids[i], frames, releaseThread); in CatchFrame() 121 mapFrames[nstids[i]] = frames; in CatchFrame() 126 bool DfxCatchFrameLocal::CatchFrame(int tid, std::vector<DfxFrame>& frames, bool releaseThread) in CatchFrame() argument 138 return CatchFrameCurrTid(frames, releaseThread); in CatchFrame() 150 return CatchFrameLocalTid(nstid, frames, releaseThread); in CatchFrame() 153 bool DfxCatchFrameLocal::CatchFrameCurrTid(std::vector<DfxFrame>& frames, bool releaseThread) in CatchFrameCurrTid() argument 163 frames.clear(); in CatchFrameCurrTid() 164 frames = thread.GetFrames(); in CatchFrameCurrTid() [all …]
|
D | backtrace_local.cpp | 45 bool GetBacktraceFramesByTid(std::vector<DfxFrame>& frames, int32_t tid, size_t skipFrameNum, bool … in GetBacktraceFramesByTid() argument 66 frames.clear(); in GetBacktraceFramesByTid() 67 frames = thread.GetFrames(); in GetBacktraceFramesByTid() 73 std::vector<DfxFrame> frames; in GetBacktraceStringByTid() local 74 bool ret = GetBacktraceFramesByTid(frames, tid, skipFrameNum + 1, fast); in GetBacktraceStringByTid() 77 out = DfxFrameFormat::GetFramesStr(frames); in GetBacktraceStringByTid() 83 std::vector<DfxFrame> frames; in PrintBacktrace() local 84 bool ret = GetBacktraceFramesByTid(frames, BACKTRACE_CURRENT_THREAD, SKIP_ONE_FRAME, fast); in PrintBacktrace() 89 for (auto const& frame : frames) { in PrintBacktrace()
|
/base/hiviewdfx/faultloggerd/frameworks/unwinder/ |
D | dfx_frame_format.cpp | 63 std::string DfxFrameFormat::GetFramesStr(const std::vector<DfxFrame>& frames) in GetFramesStr() argument 65 if (frames.size() == 0) { in GetFramesStr() 69 for (const auto& frame : frames) { in GetFramesStr() 75 std::string DfxFrameFormat::GetFramesStr(const std::vector<std::shared_ptr<DfxFrame>>& frames) in GetFramesStr() argument 77 if (frames.size() == 0) { in GetFramesStr() 81 for (const auto& frame : frames) { in GetFramesStr() 87 …ector<std::shared_ptr<DfxFrame>> DfxFrameFormat::ConvertFrames(const std::vector<DfxFrame>& frames) in ConvertFrames() argument 90 for (const auto& frame : frames) { in ConvertFrames()
|
/base/hiviewdfx/faultloggerd/interfaces/common/ |
D | dfx_frame_format.h | 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);
|
/base/hiviewdfx/faultloggerd/test/unittest/unwinder/ |
D | unwinder_test.cpp | 112 const auto& frames = unwinder.GetFrames(); variable 113 ASSERT_GT(frames.size(), 0); 144 const auto& frames = unwinder.GetFrames(); variable 145 ASSERT_GT(frames.size(), 0); 173 const auto& frames = unwinder.GetFrames(); variable 174 ASSERT_GT(frames.size(), 0); 201 const auto& frames = unwinder.GetFrames(); variable 202 ASSERT_GT(frames.size(), 0);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/include/ |
D | catchframe_local.h | 61 bool CatchFrame(int tid, std::vector<DfxFrame>& frames, bool releaseThread = false); 79 bool CatchFrameCurrTid(std::vector<DfxFrame>& frames, bool releaseThread = false); 80 bool CatchFrameLocalTid(int tid, std::vector<DfxFrame>& frames, bool releaseThread = false);
|
D | backtrace_local.h | 36 bool GetBacktraceFramesByTid(std::vector<DfxFrame>& frames, int32_t tid, size_t skipFrameNum, bool …
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
D | fault_stack_test.cpp | 144 std::vector<DfxFrame> frames; variable 147 ASSERT_EQ(true, catcher.CatchFrame(getpid(), frames)); 148 ASSERT_GT(frames.size(), 0); 149 GTEST_LOG_(INFO) << "frame size:" << frames.size(); 167 stack->CollectStackInfo(DfxFrameFormat::ConvertFrames(frames));
|
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/ |
D | backtrace_local_test.cpp | 135 const auto& frames = thread.GetFrames(); variable 136 ASSERT_GT(frames.size(), 0); 137 for (const auto& frame : frames) { 188 const auto& frames = thread.GetFrames(); variable 189 ASSERT_GT(frames.size(), 0);
|
D | catchframe_local_test.cpp | 198 std::vector<DfxFrame> frames; variable 211 result = dumplog.CatchFrame(g_tid, frames); 212 for (auto& frame : frames) { 231 EXPECT_GT(frames.size(), 0) << "CatchFrameLocalTest006 Failed";
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_fault_stack.cpp | 75 bool FaultStack::CollectStackInfo(const std::vector<std::shared_ptr<DfxFrame>> &frames) in CollectStackInfo() argument 77 if (frames.empty()) { in CollectStackInfo() 89 auto firstFrame = frames.at(0); in CollectStackInfo() 94 for (index = 1; index < frames.size(); index++) { in CollectStackInfo() 99 auto frame = frames.at(index); in CollectStackInfo()
|
D | printer.cpp | 99 const auto& frames = thread->GetFrames(); in PrintThreadBacktraceByConfig() local 100 if (frames.size() == 0) { in PrintThreadBacktraceByConfig() 104 for (const auto& frame : frames) { in PrintThreadBacktraceByConfig()
|
D | dfx_fault_stack.h | 40 bool CollectStackInfo(const std::vector<std::shared_ptr<DfxFrame>> &frames);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/callstack/include/ |
D | callstack.h | 146 void LogFrame(const std::string msg, const std::vector<CallFrame> &frames);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/callstack/src/ |
D | callstack.cpp | 699 void CallStack::LogFrame(const std::string msg, const std::vector<CallFrame> &frames) argument 703 for (auto frame : frames) {
|