Searched refs:vmPid (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_unwind_remote.cpp | 81 std::shared_ptr<Unwinder> unwinder, pid_t vmPid) in UnwindProcess() argument 91 int unwCnt = UnwindKeyThread(request, process, unwinder, vmPid) ? 1 : 0; in UnwindProcess() 95 unwCnt += UnwindOtherThread(process, unwinder, vmPid); in UnwindProcess() 120 DfxPtrace::Detach(vmPid); in UnwindProcess() 127 std::shared_ptr<Unwinder> unwinder, pid_t vmPid) in UnwindKeyThread() argument 144 if ((vmPid != 0)) { in UnwindKeyThread() 145 if (DfxPtrace::Attach(vmPid, PTRACE_ATTATCH_KEY_THREAD_TIMEOUT)) { in UnwindKeyThread() 148 result = unwindAsyncThread->UnwindStack(vmPid); in UnwindKeyThread() 177 pid_t vmPid) in UnwindOtherThread() argument 179 if ((!DfxConfig::GetConfig().dumpOtherThreads) || (vmPid != 0 && !isVmProcAttach)) { in UnwindOtherThread() [all …]
|
H A D | dfx_unwind_remote.h | 40 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 D | process_dumper.cpp | 215 void ReadPids(int& realPid, int& vmPid) in ReadPids() argument 220 vmPid = pids[VIRTUAL_PROCESS_PID]; in ReadPids() 221 DFXLOG_INFO("procecdump get real pid is %d vm pid is %d", realPid, vmPid); in ReadPids() 539 pid_t vmPid = 0; in DumpProcess() local 540 if (!InitUnwinder(request, vmPid, dumpRes) && (isCrash_ && !isLeakDump)) { in DumpProcess() 552 if (!Unwind(request, dumpRes, vmPid)) { in DumpProcess() 570 if (isCrash_ && request->vmPid != 0) { in InitVmThread() 577 process_->vmThread_ = DfxThread::Create(request->vmPid, request->vmPid, request->vmNsPid); in InitVmThread() 624 ReadPids(realPid, vmPid); in InitUnwinder() 625 if (realPid == 0 || vmPid == 0) { in InitUnwinder() [all …]
|
H A D | lock_parser.cpp | 36 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 D | dfx_unwind_async_thread.cpp | 34 bool DfxUnwindAsyncThread::UnwindStack(pid_t vmPid) in UnwindStack() argument 46 auto tmpPid = vmPid != 0 ? vmPid : tid; in UnwindStack()
|
H A D | process_dumper.h | 54 bool InitUnwinder(std::shared_ptr<ProcessDumpRequest> request, pid_t &vmPid, int &dumpRes); 57 bool Unwind(std::shared_ptr<ProcessDumpRequest> request, int &dumpRes, pid_t vmPid);
|
H A D | lock_parser.h | 25 static bool ParseLockInfo(std::shared_ptr<Unwinder> unwinder, int32_t vmPid, int32_t tid);
|
H A D | dfx_unwind_async_thread.h | 33 bool UnwindStack(pid_t vmPid = 0);
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | dfx_dump_request.h | 105 int32_t vmPid; member
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
H A D | dfx_signal_handler.c | 661 pid_t vmPid = ForkBySyscall(); in StartVMProcessUnwind() local 662 if (vmPid == 0) { in StartVMProcessUnwind() 839 g_request.vmPid = GetRealPid(); in ForkAndDoProcessDump() 840 DFXLOG_INFO("The vm pid(%d:%d).", g_request.vmPid, g_request.vmNsPid); in ForkAndDoProcessDump()
|