Home
last modified time | relevance | path

Searched refs:vmPid (Results 1 - 11 of 11) sorted by relevance

/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_unwind_remote.cpp81 std::shared_ptr<Unwinder> unwinder, pid_t vmPid) in UnwindProcess()
92 int unwCnt = UnwindKeyThread(request, process, unwinder, vmPid) ? 1 : 0; in UnwindProcess()
96 unwCnt += UnwindOtherThread(process, unwinder, vmPid); in UnwindProcess()
111 process->keyThread_->threadInfo_.nsTid = vmPid; // read registers from vm process in UnwindProcess()
121 DfxPtrace::Detach(vmPid); in UnwindProcess()
128 std::shared_ptr<Unwinder> unwinder, pid_t vmPid) in UnwindKeyThread()
145 if ((vmPid != 0)) { in UnwindKeyThread()
146 if (DfxPtrace::Attach(vmPid, PTRACE_ATTATCH_KEY_THREAD_TIMEOUT)) { in UnwindKeyThread()
149 result = unwindAsyncThread->UnwindStack(vmPid); in UnwindKeyThread()
178 pid_t vmPid) in UnwindOtherThread()
80 UnwindProcess(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process, std::shared_ptr<Unwinder> unwinder, pid_t vmPid) UnwindProcess() argument
127 UnwindKeyThread(std::shared_ptr<ProcessDumpRequest> request, std::shared_ptr<DfxProcess> process, std::shared_ptr<Unwinder> unwinder, pid_t vmPid) UnwindKeyThread() argument
177 UnwindOtherThread(std::shared_ptr<DfxProcess> process, std::shared_ptr<Unwinder> unwinder, pid_t vmPid) UnwindOtherThread() argument
[all...]
H A Ddfx_unwind_remote.h40 std::shared_ptr<Unwinder> unwinder, pid_t vmPid = 0);
46 std::shared_ptr<Unwinder> unwinder, pid_t vmPid = 0);
48 pid_t vmPid = 0);
H A Dlock_parser.cpp36 bool LockParser::ParseLockInfo(std::shared_ptr<Unwinder> unwinder, int32_t vmPid, int32_t tid) in ParseLockInfo() argument
40 if (unwinder->GetLockInfo(vmPid, buffer.data(), sizeof(pthread_mutex_t))) { in ParseLockInfo()
H A Dlock_parser.h25 static bool ParseLockInfo(std::shared_ptr<Unwinder> unwinder, int32_t vmPid, int32_t tid);
H A Dprocess_dumper.cpp215 void ReadPids(int& realPid, int& vmPid) in ReadPids() argument
220 vmPid = pids[VIRTUAL_PROCESS_PID]; in ReadPids()
221 DFXLOGW("procecdump get real pid is %{public}d vm pid is %{public}d", realPid, vmPid); in ReadPids()
498 bool ProcessDumper::Unwind(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes, pid_t vmPid) in Unwind() argument
512 if (!DfxUnwindRemote::GetInstance().UnwindProcess(request, process_, unwinder_, vmPid)) { in Unwind()
556 pid_t vmPid = 0; in DumpProcess() local
557 if (!InitUnwinder(request, vmPid, dumpRes) && (isCrash_ && !isLeakDump)) { in DumpProcess()
566 if (!Unwind(request, dumpRes, vmPid)) { in DumpProcess()
584 if (isCrash_ && request->vmPid != 0) { in InitVmThread()
591 process_->vmThread_ = DfxThread::Create(request->vmPid, reques in InitVmThread()
633 InitUnwinder(std::shared_ptr<ProcessDumpRequest> request, pid_t &vmPid, int &dumpRes) InitUnwinder() argument
[all...]
H A Dprocess_dumper.h53 bool InitUnwinder(std::shared_ptr<ProcessDumpRequest> request, pid_t &vmPid, int &dumpRes);
56 bool Unwind(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes, pid_t vmPid);
H A Ddfx_unwind_async_thread.h33 bool UnwindStack(pid_t vmPid = 0);
H A Ddfx_unwind_async_thread.cpp34 bool DfxUnwindAsyncThread::UnwindStack(pid_t vmPid) in UnwindStack() argument
46 auto tmpPid = vmPid != 0 ? vmPid : tid; in UnwindStack()
/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_dump_request.h118 int32_t vmPid; member
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
H A Ddfx_dumprequest.c442 pid_t vmPid = ForkBySyscall(); in StartVMProcessUnwind() local
443 if (vmPid == 0) { in StartVMProcessUnwind()
617 g_request->vmPid = GetRealPid(); in ForkAndDoProcessDump()
618 DFXLOGI("The vm pid(%{public}d:%{public}d).", g_request->vmPid, g_request->vmNsPid); in ForkAndDoProcessDump()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Ddfx_processdump_test.cpp580 request->vmPid = 1; in HWTEST_F()

Completed in 5 milliseconds