Searched refs:procInfo (Results 1 – 3 of 3) sorted by relevance
44 static bool GetProcStatusByPath(struct ProcInfo& procInfo, const std::string& path) in GetProcStatusByPath() argument64 procInfo.pid = getpid(); in GetProcStatusByPath()66 procInfo.pid = pid; in GetProcStatusByPath()68 procInfo.nsPid = pid; in GetProcStatusByPath()75 procInfo.ppid = getppid(); in GetProcStatusByPath()77 procInfo.ppid = ppid; in GetProcStatusByPath()85 procInfo.ns = false; in GetProcStatusByPath()86 procInfo.nsPid = pid; in GetProcStatusByPath()88 procInfo.ns = true; in GetProcStatusByPath()89 procInfo.nsPid = nsPid; in GetProcStatusByPath()[all …]
48 ProcInfo procInfo; variable49 ASSERT_TRUE(GetProcStatus(procInfo));50 ASSERT_EQ(getpid(), procInfo.pid);75 struct ProcInfo procInfo; variable76 ASSERT_TRUE(GetProcStatusByPid(getpid(), procInfo));82 if (procInfo.ns) {
51 bool GetProcStatus(struct ProcInfo& procInfo);59 bool GetProcStatusByPid(int realPid, struct ProcInfo& procInfo);