Lines Matching defs:request
80 bool DfxUnwindRemote::UnwindProcess(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process,
92 int unwCnt = UnwindKeyThread(request, process, unwinder, vmPid) ? 1 : 0;
95 if (ProcessDumper::GetInstance().IsCrash() || request->siginfo.si_value.sival_int == 0) {
100 if (request->dumpMode == SPLIT_MODE) {
127 bool DfxUnwindRemote::UnwindKeyThread(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process,
139 if (request == nullptr) {
140 DFXLOGW("%{public}s::request is not initialized.", __func__);
144 auto unwindAsyncThread = std::make_shared<DfxUnwindAsyncThread>(unwThread, unwinder, request->stackId);
166 Printer::PrintDumpHeader(request, process, unwinder);
170 // Registers of unwThread has been changed, we should print regs from request context.
171 process->regs_ = DfxRegs::CreateFromUcontext(request->context);
234 bool DfxUnwindRemote::InitTargetKeyThreadRegs(std::shared_ptr<ProcessDumpRequest> request,
237 auto regs = DfxRegs::CreateFromUcontext(request->context);
258 bool DfxUnwindRemote::InitProcessAllThreadRegs(std::shared_ptr<ProcessDumpRequest> request,
261 if (!InitTargetKeyThreadRegs(request, process)) {