Home
last modified time | relevance | path

Searched refs:proc_info (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/lldb/source/Utility/
DProcessInfo.cpp263 const ProcessInstanceInfo &proc_info) const { in ProcessIDsMatch()
265 m_match_info.GetProcessID() != proc_info.GetProcessID()) in ProcessIDsMatch()
269 m_match_info.GetParentProcessID() != proc_info.GetParentProcessID()) in ProcessIDsMatch()
275 const ProcessInstanceInfo &proc_info) const { in UserIDsMatch()
277 m_match_info.GetUserID() != proc_info.GetUserID()) in UserIDsMatch()
281 m_match_info.GetGroupID() != proc_info.GetGroupID()) in UserIDsMatch()
285 m_match_info.GetEffectiveUserID() != proc_info.GetEffectiveUserID()) in UserIDsMatch()
289 m_match_info.GetEffectiveGroupID() != proc_info.GetEffectiveGroupID()) in UserIDsMatch()
294 const ProcessInstanceInfo &proc_info) const { in Matches()
295 return ArchitectureMatches(proc_info.GetArchitecture()) && in Matches()
[all …]
/external/perfetto/src/profiling/symbolizer/
Dsubprocess_windows.cc54 PROCESS_INFORMATION proc_info; in Subprocess() local
58 ZeroMemory(&proc_info, sizeof(PROCESS_INFORMATION)); in Subprocess()
79 &proc_info); // receives PROCESS_INFORMATION in Subprocess()
83 CloseHandle(proc_info.hProcess); in Subprocess()
84 CloseHandle(proc_info.hThread); in Subprocess()
/external/llvm-project/lldb/tools/debugserver/source/
DRNBServices.cpp46 struct kinfo_proc &proc_info = proc_infos[i]; in GetProcesses() local
53 kinfo_user_matches = proc_info.kp_eproc.e_pcred.p_ruid == our_uid; in GetProcesses()
55 const pid_t pid = proc_info.kp_proc.p_pid; in GetProcesses()
60 proc_info.kp_proc.p_stat == in GetProcesses()
62 proc_info.kp_proc.p_flag & P_TRACED || // Being debugged? in GetProcesses()
63 proc_info.kp_proc.p_flag & P_WEXIT // Working on exiting? in GetProcesses()
83 const char *pid_basename = proc_info.kp_proc.p_comm; in GetProcesses()
/external/igt-gpu-tools/lib/
Digt_aux.c1284 proc_t *proc_info; in igt_is_process_running() local
1290 while ((proc_info = readproc(proc, NULL))) { in igt_is_process_running()
1291 if (!strncasecmp(proc_info->cmd, comm, sizeof(proc_info->cmd))) { in igt_is_process_running()
1292 freeproc(proc_info); in igt_is_process_running()
1296 freeproc(proc_info); in igt_is_process_running()
1318 proc_t *proc_info; in igt_terminate_process() local
1324 while ((proc_info = readproc(proc, NULL))) { in igt_terminate_process()
1325 if (!strncasecmp(proc_info->cmd, comm, sizeof(proc_info->cmd))) { in igt_terminate_process()
1327 if (kill(proc_info->tid, sig) < 0) in igt_terminate_process()
1330 freeproc(proc_info); in igt_terminate_process()
[all …]
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerCommon.cpp323 ProcessInstanceInfo proc_info; in Handle_qProcessInfoPID() local
324 if (Host::GetProcessInfo(pid, proc_info)) { in Handle_qProcessInfoPID()
326 CreateProcessInfoResponse(proc_info, response); in Handle_qProcessInfoPID()
1181 const ProcessInstanceInfo &proc_info, StreamString &response) { in CreateProcessInfoResponse() argument
1184 proc_info.GetProcessID(), proc_info.GetParentProcessID(), in CreateProcessInfoResponse()
1185 proc_info.GetUserID(), proc_info.GetGroupID(), in CreateProcessInfoResponse()
1186 proc_info.GetEffectiveUserID(), proc_info.GetEffectiveGroupID()); in CreateProcessInfoResponse()
1188 response.PutStringAsRawHex8(proc_info.GetExecutableFile().GetCString()); in CreateProcessInfoResponse()
1192 response.PutStringAsRawHex8(proc_info.GetArg0()); in CreateProcessInfoResponse()
1193 for (auto &arg : proc_info.GetArguments()) { in CreateProcessInfoResponse()
[all …]
DGDBRemoteCommunicationServerCommon.h116 static void CreateProcessInfoResponse(const ProcessInstanceInfo &proc_info,
120 const ProcessInstanceInfo &proc_info, StreamString &response);
DGDBRemoteCommunicationServerPlatform.cpp404 ProcessInstanceInfo proc_info; in Handle_qProcessInfo() local
405 if (!Host::GetProcessInfo(pid, proc_info)) in Handle_qProcessInfo()
409 CreateProcessInfoResponse_DebugServerStyle(proc_info, response); in Handle_qProcessInfo()
DGDBRemoteCommunicationServerLLGS.cpp1359 ProcessInstanceInfo proc_info; in Handle_qProcessInfo() local
1360 if (!Host::GetProcessInfo(pid, proc_info)) in Handle_qProcessInfo()
1364 CreateProcessInfoResponse_DebugServerStyle(proc_info, response); in Handle_qProcessInfo()
/external/llvm-project/lldb/test/API/tools/lldb-server/
DTestGdbRemoteAuxvSupport.py54 proc_info = self.parse_process_info_response(context)
55 self.assertIsNotNone(proc_info)
56 self.assertTrue("ptrsize" in proc_info)
57 word_size = int(proc_info["ptrsize"])
/external/toybox/toys/pending/
Dlsof.c32 struct proc_info { struct
41 struct proc_info pi; argument
289 struct file_info *new_file_info(struct proc_info *pi, const char *fd) in new_file_info()
305 static void visit_symlink(struct proc_info *pi, char *name, char *path) in visit_symlink()
329 static void visit_maps(struct proc_info *pi) in visit_maps()
363 static void visit_fds(struct proc_info *pi) in visit_fds()
386 struct proc_info pi; in lsof_pid()
/external/perfetto/src/base/
Dsubprocess_windows.cc83 PROCESS_INFORMATION proc_info{}; in Start() local
129 &proc_info); // Receives PROCESS_INFORMATION. in Start()
146 s_->pid = proc_info.dwProcessId; in Start()
147 s_->win_proc_handle = ScopedPlatformHandle(proc_info.hProcess); in Start()
148 s_->win_thread_handle = ScopedPlatformHandle(proc_info.hThread); in Start()
/external/llvm-project/lldb/include/lldb/Utility/
DProcessInfo.h201 bool ProcessIDsMatch(const ProcessInstanceInfo &proc_info) const;
205 bool UserIDsMatch(const ProcessInstanceInfo &proc_info) const;
207 bool Matches(const ProcessInstanceInfo &proc_info) const;
/external/cpu_features/src/
Dcpuinfo_arm.c74 ProcCpuInfoData* const proc_info) { in HandleArmLine() argument
102 proc_info->processor_reports_armv6 = in HandleArmLine()
105 proc_info->hardware_reports_goldfish = in HandleArmLine()
/external/rust/crates/num_cpus/src/
Dlib.rs190 .filter(|proc_info| proc_info.relationship == RelationProcessorCore) in get_num_physical_cpus_windows()
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformAppleSimulator.cpp498 const ProcessInstanceInfo &proc_info = all_osx_process_infos[i]; in FindProcesses() local
499 const llvm::Triple &triple = proc_info.GetArchitecture().GetTriple(); in FindProcesses()
502 process_infos.push_back(proc_info); in FindProcesses()
DPlatformDarwin.cpp1626 lldb_private::ProcessInstanceInfo proc_info; in GetOSVersion() local
1627 if (Host::GetProcessInfo(process->GetID(), proc_info)) { in GetOSVersion()
1628 const Environment &env = proc_info.GetEnvironment(); in GetOSVersion()
/external/llvm-project/lldb/source/Commands/
DCommandObjectPlatform.cpp1128 ProcessInstanceInfo proc_info; in DoExecute() local
1129 if (platform_sp->GetProcessInfo(pid, proc_info)) { in DoExecute()
1132 proc_info.DumpAsTableRow(ostrm, platform_sp->GetUserIDResolver(), in DoExecute()
1415 ProcessInstanceInfo proc_info; in DoExecute() local
1416 if (platform_sp->GetProcessInfo(pid, proc_info)) { in DoExecute()
1419 proc_info.Dump(ostrm, platform_sp->GetUserIDResolver()); in DoExecute()
/external/llvm-project/lldb/include/lldb/Target/
DRemoteAwarePlatform.h87 bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info) override;
DPlatform.h426 virtual bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info);
/external/llvm-project/lldb/include/lldb/Host/
DHost.h184 static bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info);
/external/llvm-project/lldb/source/Plugins/Platform/gdb-server/
DPlatformRemoteGDBServer.h57 bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info) override;
/external/llvm-project/lldb/source/API/
DSBProcess.cpp1304 ProcessInstanceInfo proc_info; in GetProcessInfo() local
1305 if (process_sp && process_sp->GetProcessInfo(proc_info)) { in GetProcessInfo()
1306 sb_proc_info.SetProcessInfo(proc_info); in GetProcessInfo()
/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c88 typedef struct proc_info { struct