Home
last modified time | relevance | path

Searched refs:process_info (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm-project/lldb/source/Host/openbsd/
DHost.cpp59 ProcessInstanceInfo &process_info) { in GetOpenBSDProcessArgs() argument
60 if (process_info.ProcessIDIsValid()) { in GetOpenBSDProcessArgs()
62 (int)process_info.GetProcessID()}; in GetOpenBSDProcessArgs()
74 process_info.GetExecutableFile().SetFile(cstr, FileSpec::Style::native); in GetOpenBSDProcessArgs()
78 process_info.GetExecutableFile().GetFilename().GetCString(), in GetOpenBSDProcessArgs()
83 Args &proc_args = process_info.GetArguments(); in GetOpenBSDProcessArgs()
105 static bool GetOpenBSDProcessCPUType(ProcessInstanceInfo &process_info) { in GetOpenBSDProcessCPUType() argument
106 if (process_info.ProcessIDIsValid()) { in GetOpenBSDProcessCPUType()
107 process_info.GetArchitecture() = in GetOpenBSDProcessCPUType()
111 process_info.GetArchitecture().Clear(); in GetOpenBSDProcessCPUType()
[all …]
/external/llvm-project/lldb/source/Host/freebsd/
DHost.cpp49 ProcessInstanceInfo &process_info) { in GetFreeBSDProcessArgs() argument
50 if (!process_info.ProcessIDIsValid()) in GetFreeBSDProcessArgs()
53 int pid = process_info.GetProcessID(); in GetFreeBSDProcessArgs()
76 process_info.GetExecutableFile().SetFile(pathname, FileSpec::Style::native); in GetFreeBSDProcessArgs()
78 process_info.GetExecutableFile().SetFile(cstr, FileSpec::Style::native); in GetFreeBSDProcessArgs()
81 NameMatches(process_info.GetExecutableFile().GetFilename().GetCString(), in GetFreeBSDProcessArgs()
86 process_info.SetArg0(cstr); in GetFreeBSDProcessArgs()
87 Args &proc_args = process_info.GetArguments(); in GetFreeBSDProcessArgs()
107 static bool GetFreeBSDProcessCPUType(ProcessInstanceInfo &process_info) { in GetFreeBSDProcessCPUType() argument
108 if (process_info.ProcessIDIsValid()) { in GetFreeBSDProcessCPUType()
[all …]
/external/llvm-project/lldb/source/Host/netbsd/
DHostNetBSD.cpp51 ProcessInstanceInfo &process_info) { in GetNetBSDProcessArgs() argument
52 if (!process_info.ProcessIDIsValid()) in GetNetBSDProcessArgs()
55 int pid = process_info.GetProcessID(); in GetNetBSDProcessArgs()
73 process_info.GetExecutableFile().SetFile(cstr, in GetNetBSDProcessArgs()
77 NameMatches(process_info.GetExecutableFile().GetFilename().GetCString(), in GetNetBSDProcessArgs()
82 process_info.SetArg0(cstr); in GetNetBSDProcessArgs()
83 Args &proc_args = process_info.GetArguments(); in GetNetBSDProcessArgs()
103 static bool GetNetBSDProcessCPUType(ProcessInstanceInfo &process_info) { in GetNetBSDProcessCPUType() argument
106 if (process_info.ProcessIDIsValid()) { in GetNetBSDProcessCPUType()
108 process_info.GetExecutableFile(), 0x20, 0); in GetNetBSDProcessCPUType()
[all …]
/external/llvm-project/lldb/source/Host/linux/
DHost.cpp146 static void GetProcessArgs(::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessArgs() argument
154 process_info.SetArg0(Arg0); in GetProcessArgs()
158 process_info.GetArguments().AppendArgument(Arg); in GetProcessArgs()
162 static void GetExePathAndArch(::pid_t pid, ProcessInstanceInfo &process_info) { in GetExePathAndArch() argument
184 process_info.GetExecutableFile().SetFile(PathRef, FileSpec::Style::native); in GetExePathAndArch()
185 process_info.SetArchitecture(GetELFProcessCPUType(PathRef)); in GetExePathAndArch()
189 static void GetProcessEnviron(::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessEnviron() argument
200 process_info.GetEnvironment().insert(Var); in GetProcessEnviron()
205 ProcessInstanceInfo &process_info, in GetProcessAndStatInfo() argument
208 process_info.Clear(); in GetProcessAndStatInfo()
[all …]
/external/llvm-project/lldb/test/API/tools/lldb-server/
DTestGdbRemoteProcessInfo.py24 process_info = self.parse_process_info_response(context)
25 self.assertIsNotNone(process_info)
28 pid_text = process_info.get("pid")
59 process_info = self.parse_process_info_response(context)
60 self.assertIsNotNone(process_info)
63 pid_text = process_info.get('pid', None)
93 process_info = self.parse_process_info_response(context)
94 self.assertIsNotNone(process_info)
97 endian = process_info.get("endian")
123 process_info = self.parse_process_info_response(context)
[all …]
DTestGdbRemoteAuxvSupport.py147 process_info = self.parse_process_info_response(context)
148 self.assertIsNotNone(process_info)
149 endian = process_info.get("endian")
191 process_info = self.parse_process_info_response(context)
192 self.assertIsNotNone(process_info)
193 endian = process_info.get("endian")
DTestGdbRemoteAttach.py45 process_info = self.parse_process_info_response(context)
46 self.assertIsNotNone(process_info)
49 pid_text = process_info.get('pid', None)
DTestAppleSimulatorOSType.py96 process_info = self.parse_process_info_response(context)
97 self.assertIsNotNone(process_info)
100 self.assertEquals(process_info['ostype'], platform + 'simulator')
DTestGdbRemoteRegisterState.py29 process_info = self.parse_process_info_response(context)
30 endian = process_info.get("endian")
/external/llvm-project/lldb/test/API/python_api/process/
DTestProcessAPI.py354 process_info = process.GetProcessInfo()
355 self.assertTrue(process_info.IsValid())
356 file_spec = process_info.GetExecutableFile()
358 process_name = process_info.GetName()
363 process_info.GetProcessID(), lldb.LLDB_INVALID_PROCESS_ID,
368 if process_info.UserIDIsValid():
370 process_info.GetUserID(), lldb.UINT32_MAX,
374 process_info.GetUserID(), lldb.UINT32_MAX,
377 if process_info.GroupIDIsValid():
379 process_info.GetGroupID(), lldb.UINT32_MAX,
[all …]
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DGenealogy.cpp116 process_info) { in GetActivities()
117 if (pid == process_info->pid) { in GetActivities()
120 process_info, in GetActivities()
134 process_info->activities, process_info, in GetActivities()
151 process_info->messages, process_info, in GetActivities()
185 act = m_os_activity_for_thread(process_info, thread_id); in GetActivities()
198 if (process_info->activities != nullptr && in GetActivities()
206 m_os_activity_messages_for_thread(process_info, act, in GetActivities()
209 this_thread_messages, process_info, in GetActivities()
DGenealogy.h94 bool (^iterator)(os_activity_process_t process_info));
96 os_activity_process_t process_info,
99 os_trace_message_list_t messages, os_activity_process_t process_info,
102 os_activity_list_t activities, os_activity_process_t process_info,
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DMessageObjects.cpp21 ProcessInfo process_info; in create() local
27 if (elements["pid"].getAsInteger(16, process_info.m_pid)) in create()
29 if (elements["parent-pid"].getAsInteger(16, process_info.m_parent_pid)) in create()
31 if (elements["real-uid"].getAsInteger(16, process_info.m_real_uid)) in create()
33 if (elements["real-gid"].getAsInteger(16, process_info.m_real_gid)) in create()
35 if (elements["effective-uid"].getAsInteger(16, process_info.m_effective_uid)) in create()
37 if (elements["effective-gid"].getAsInteger(16, process_info.m_effective_gid)) in create()
39 if (elements["ptrsize"].getAsInteger(10, process_info.m_ptrsize)) in create()
42 process_info.m_triple = fromHex(elements["triple"]); in create()
45 process_info.m_endian = support::little; in create()
[all …]
/external/llvm-project/lldb/source/Host/macosx/objcxx/
DHost.mm409 static bool GetMacOSXProcessCPUType(ProcessInstanceInfo &process_info) {
410 if (process_info.ProcessIDIsValid()) {
419 mib[mib_len] = process_info.GetProcessID();
474 process_info.GetArchitecture().SetArchitecture(eArchTypeMachO, cpu, sub);
478 process_info.GetArchitecture().Clear();
483 ProcessInstanceInfo &process_info) {
484 if (process_info.ProcessIDIsValid()) {
486 (int)process_info.GetProcessID()};
504 llvm::Triple &triple = process_info.GetArchitecture().GetTriple();
511 process_info.GetExecutableFile().SetFile(cstr, FileSpec::Style::native);
[all …]
/external/llvm-project/lldb/test/API/macosx/macCatalyst/
DTestMacCatalyst.py33 process_info = lldbutil.packetlog_get_process_info(log)
34 self.assertTrue('ostype' in process_info)
35 self.assertEquals(process_info['ostype'], 'maccatalyst')
/external/llvm-project/lldb/test/API/macosx/macCatalystAppMacOSFramework/
DTestMacCatalystAppWithMacOSFramework.py36 process_info = lldbutil.packetlog_get_process_info(log)
37 self.assertTrue('ostype' in process_info)
38 self.assertEquals(process_info['ostype'], 'maccatalyst')
/external/google-breakpad/src/tools/windows/dump_syms/
Ddump_syms_unittest.cc126 PROCESS_INFORMATION process_info = {}; in RunCommand() local
134 &startup_info, &process_info)); in RunCommand()
146 ::WaitForSingleObject(process_info.hProcess, INFINITE); in RunCommand()
149 ASSERT_TRUE(::CloseHandle(process_info.hThread)); in RunCommand()
150 ASSERT_TRUE(::CloseHandle(process_info.hProcess)); in RunCommand()
/external/llvm-project/lldb/source/Host/windows/
DHost.cpp165 bool Host::GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessInfo() argument
166 process_info.Clear(); in GetProcessInfo()
174 process_info.SetProcessID(pid); in GetProcessInfo()
175 GetProcessExecutableAndTriple(handle, process_info); in GetProcessInfo()
188 process_info.SetParentProcessID(pe.th32ParentProcessID); in GetProcessInfo()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DNativeThreadWindows.cpp87 ProcessInstanceInfo process_info; in GetName() local
88 if (Host::GetProcessInfo(process.GetID(), process_info)) { in GetName()
89 std::string process_name(process_info.GetName()); in GetName()
/external/autotest/client/site_tests/network_DhcpRequestHostName/
Dnetwork_DhcpRequestHostName.py28 process_info = utils.system_output('ps %s' % pid)
29 if required_flag not in process_info:
/external/perfetto/test/trace_processor/startup/
Dandroid_startup_cpu.out2 process_info {
92 process_info {
232 process_info {
/external/llvm-project/lldb/test/API/macosx/simulator/
DTestSimulatorPlatform.py31 process_info = lldbutil.packetlog_get_process_info(log)
32 self.assertTrue('ostype' in process_info)
33 self.assertEquals(process_info['ostype'], expected_platform)
/external/protobuf/src/google/protobuf/compiler/
Dsubprocess.cc135 PROCESS_INFORMATION process_info; in Start() local
145 &startup_info, &process_info)) { in Start()
146 child_handle_ = process_info.hProcess; in Start()
147 CloseHandleOrDie(process_info.hThread); in Start()
/external/perfetto/docs/analysis/
Dmetrics.md44 process_info {
130 repeated ProcessInfo process_info = 1;
166 repeated ProcessInfo process_info = 1;
229 'process_info', (
266 in the `process_info` field with the array of protos from the inner function.
301 'process_info', (
341 process_info {
346 process_info {
351 process_info {
356 process_info {
[all …]
/external/perfetto/docs/quickstart/
Dtrace-analysis.md120 process_info {
148 process_info {
219 process_info {
286 "process_info": [
384 process_info {

123