Lines Matching refs:process_info
1069 ProcessInstanceInfo &process_info)
1071 if (process_info.ProcessIDIsValid())
1074 int name_len = ::proc_name(process_info.GetProcessID(), process_name, MAXCOMLEN * 2);
1082 process_info.GetExecutableFile().SetFile (process_name, false);
1086 process_info.GetExecutableFile().Clear();
1092 GetMacOSXProcessCPUType (ProcessInstanceInfo &process_info)
1094 if (process_info.ProcessIDIsValid())
1102 mib[mib_len] = process_info.GetProcessID();
1125 process_info.GetArchitecture ().SetArchitecture (eArchTypeMachO, cpu, sub);
1129 process_info.GetArchitecture().Clear();
1135 ProcessInstanceInfo &process_info)
1137 if (process_info.ProcessIDIsValid())
1139 int proc_args_mib[3] = { CTL_KERN, KERN_PROCARGS2, (int)process_info.GetProcessID() };
1153 process_info.GetExecutableFile().SetFile(cstr, false);
1156 NameMatches (process_info.GetExecutableFile().GetFilename().GetCString(),
1169 Args &proc_args = process_info.GetArguments();
1185 GetMacOSXProcessUserAndGroup (ProcessInstanceInfo &process_info)
1187 if (process_info.ProcessIDIsValid())
1193 mib[3] = process_info.GetProcessID();
1201 process_info.SetParentProcessID (proc_kinfo.kp_eproc.e_ppid);
1202 process_info.SetUserID (proc_kinfo.kp_eproc.e_pcred.p_ruid);
1203 process_info.SetGroupID (proc_kinfo.kp_eproc.e_pcred.p_rgid);
1204 process_info.SetEffectiveUserID (proc_kinfo.kp_eproc.e_ucred.cr_uid);
1206 process_info.SetEffectiveGroupID (proc_kinfo.kp_eproc.e_ucred.cr_groups[0]);
1208 process_info.SetEffectiveGroupID (UINT32_MAX);
1213 process_info.SetParentProcessID (LLDB_INVALID_PROCESS_ID);
1214 process_info.SetUserID (UINT32_MAX);
1215 process_info.SetGroupID (UINT32_MAX);
1216 process_info.SetEffectiveUserID (UINT32_MAX);
1217 process_info.SetEffectiveGroupID (UINT32_MAX);
1270 ProcessInstanceInfo process_info;
1271 process_info.SetProcessID (kinfo.kp_proc.p_pid);
1272 process_info.SetParentProcessID (kinfo.kp_eproc.e_ppid);
1273 process_info.SetUserID (kinfo.kp_eproc.e_pcred.p_ruid);
1274 process_info.SetGroupID (kinfo.kp_eproc.e_pcred.p_rgid);
1275 process_info.SetEffectiveUserID (kinfo.kp_eproc.e_ucred.cr_uid);
1277 process_info.SetEffectiveGroupID (kinfo.kp_eproc.e_ucred.cr_groups[0]);
1279 process_info.SetEffectiveGroupID (UINT32_MAX);
1282 if (match_info.Matches (process_info))
1284 if (GetMacOSXProcessArgs (&match_info, process_info))
1286 GetMacOSXProcessCPUType (process_info);
1287 if (match_info.Matches (process_info))
1288 process_infos.Append (process_info);
1296 Host::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info)
1298 process_info.SetProcessID(pid);
1301 if (GetMacOSXProcessArgs (NULL, process_info))
1304 if (GetMacOSXProcessCPUType (process_info))
1307 if (GetMacOSXProcessUserAndGroup (process_info))
1313 process_info.Clear();