Lines Matching defs:vmPid
215 void ReadPids(int& realPid, int& vmPid)
220 vmPid = pids[VIRTUAL_PROCESS_PID];
221 DFXLOGW("procecdump get real pid is %{public}d vm pid is %{public}d", realPid, vmPid);
498 bool ProcessDumper::Unwind(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes, pid_t vmPid)
512 if (!DfxUnwindRemote::GetInstance().UnwindProcess(request, process_, unwinder_, vmPid)) {
556 pid_t vmPid = 0;
557 if (!InitUnwinder(request, vmPid, dumpRes) && (isCrash_ && !isLeakDump)) {
566 if (!Unwind(request, dumpRes, vmPid)) {
584 if (isCrash_ && request->vmPid != 0) {
591 process_->vmThread_ = DfxThread::Create(request->vmPid, request->vmPid, request->vmNsPid);
633 bool ProcessDumper::InitUnwinder(std::shared_ptr<ProcessDumpRequest> request, pid_t &vmPid, int &dumpRes)
638 ReadPids(realPid, vmPid);
639 if (realPid == 0 || vmPid == 0) {
658 unwinder_ = std::make_shared<Unwinder>(realPid, vmPid, isCrash_);