Lines Matching refs:threadContext
523 auto threadContext = LocalThreadContext::GetInstance().CollectThreadContext(tid);
525 if (threadContext != nullptr && threadContext->frameSz > 0) {
527 for (size_t i = 0; i < threadContext->frameSz; i++) {
528 pcs_.emplace_back(threadContext->pcs[i]);
530 firstFrameSp_ = threadContext->firstFrameSp;
535 if (threadContext == nullptr || threadContext->ctx == nullptr) {
541 regs_ = DfxRegs::CreateFromUcontext(*(threadContext->ctx));
543 regs_->SetFromUcontext(*(threadContext->ctx));