Lines Matching refs:pid
53 static pid_t pid = getpid();
56 GTEST_LOG_(INFO) << "pid: " << pid << ", ppid:" << getppid();
57 auto unwinder = std::make_shared<Unwinder>(pid);
58 bool unwRet = DfxPtrace::Attach(pid);
60 auto regs = DfxRegs::CreateRemoteRegs(pid);
61 auto maps = DfxMaps::Create(pid);
64 context.pid = pid;
72 DfxPtrace::Detach(pid);
92 static pid_t pid = getpid();
95 GTEST_LOG_(INFO) << "pid: " << pid << ", ppid:" << getppid();
96 auto unwinder = std::make_shared<Unwinder>(pid);
97 bool unwRet = DfxPtrace::Attach(pid);
99 auto regs = DfxRegs::CreateRemoteRegs(pid);
102 context.pid = pid;
106 DfxPtrace::Detach(pid);