Lines Matching defs:request
44 void Printer::PrintDumpHeader(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process,
47 if (process == nullptr || request == nullptr) {
51 bool isCrash = (request->siginfo.si_signo != SIGDUMP);
59 headerInfo += "Timestamp:" + GetCurrentTimeStr(request->timeStamp);
60 DfxRingBufferWrapper::GetInstance().AppendMsg("Timestamp:" + GetCurrentTimeStr(request->timeStamp));
72 PrintReason(request, process, unwinder, reasonInfo);
80 auto traceId = request->traceInfo;
93 static void FillReasonAccordingMsgType(const ProcessDumpRequest &request, std::string& reason)
95 switch (request.msg.type) {
106 reason += DfxSignal::PrintSignal(request.siginfo);
111 void Printer::PrintReason(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process,
120 FillReasonAccordingMsgType(*request, process->reason);
121 uint64_t addr = (uint64_t)(request->siginfo.si_addr);
122 if (request->siginfo.si_signo == SIGSEGV &&
123 (request->siginfo.si_code == SEGV_MAPERR || request->siginfo.si_code == SEGV_ACCERR)) {
130 bool keyThreadEmpty = (request->dumpMode == SPLIT_MODE && process->vmThread_ == nullptr) ||
138 if (DfxRegs::CreateFromUcontext(request->context) == nullptr) {
150 } else if (request->siginfo.si_signo == SIGSYS && request->siginfo.si_code == SYS_SECCOMP) {
151 process->reason += StringPrintf(" syscall number is %d", request->siginfo.si_syscall);