Lines Matching refs:thread
100 for (auto thread : threads) { in UnwindProcess() local
108 if (thread->Attach()) { in UnwindProcess()
109 UnwindThread(process, thread); in UnwindProcess()
110 thread->Detach(); in UnwindProcess()
113 if (thread->GetIsCrashThread() && (!process->GetIsSignalDump())) { in UnwindProcess()
167 std::shared_ptr<DfxThread> & thread, unw_cursor_t & cursor, std::shared_ptr<DfxProcess> process) in DfxUnwindRemoteDoUnwindStep() argument
207 ret = UpdateAndPrintFrameInfo(cursor, thread, frame, in DfxUnwindRemoteDoUnwindStep()
208 (thread->GetIsCrashThread() && !process->GetIsSignalDump())); in DfxUnwindRemoteDoUnwindStep()
210 thread->AddFrame(frame); in DfxUnwindRemoteDoUnwindStep()
217 …l DfxUnwindRemote::UpdateAndPrintFrameInfo(unw_cursor_t& cursor, std::shared_ptr<DfxThread> thread, in UpdateAndPrintFrameInfo() argument
248 std::shared_ptr<DfxRegs> regs = thread->GetThreadRegs(); in UpdateAndPrintFrameInfo()
263 …xUnwindRemote::UnwindThread(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread) in UnwindThread() argument
265 if (!thread) { in UnwindThread()
270 bool isCrash = thread->GetIsCrashThread() && (process->GetIsSignalDump() == false); in UnwindThread()
271 pid_t nsTid = isCrash ? ProcessDumper::GetInstance().GetTargetNsPid() : thread->GetRealTid(); in UnwindThread()
272 pid_t tid = thread->GetThreadId(); in UnwindThread()
274 …int ret = snprintf_s(buf, sizeof(buf), sizeof(buf) - 1, "Tid:%d, Name:%s\n", tid, thread->GetThrea… in UnwindThread()
303 std::shared_ptr<DfxRegs> regs = thread->GetThreadRegs(); in UnwindThread()
312 if (!DfxUnwindRemoteDoUnwindStep(index, thread, cursor, process)) { in UnwindThread()
320 thread->SetThreadUnwStopReason(unwRet); in UnwindThread()
326 thread->CreateFaultStack(nsTid); in UnwindThread()
327 thread->PrintThreadFaultStackByConfig(); in UnwindThread()
334 …emote::UnwindThreadFallback(std::shared_ptr<DfxProcess> process, std::shared_ptr<DfxThread> thread) in UnwindThreadFallback() argument
337 std::shared_ptr<DfxRegs> regs = thread->GetThreadRegs(); in UnwindThreadFallback()
349 auto createFrame = [maps, thread] (int index, uintptr_t pc) { in UnwindThreadFallback()
354 thread->AddFrame(frame); in UnwindThreadFallback()