Home
last modified time | relevance | path

Searched refs:ProcessInstanceInfo (Results 1 – 25 of 48) sorted by relevance

12

/external/llvm-project/lldb/include/lldb/Utility/
DProcessInfo.h108 class ProcessInstanceInfo : public ProcessInfo {
110 ProcessInstanceInfo() in ProcessInstanceInfo() function
114 ProcessInstanceInfo(const char *name, const ArchSpec &arch, lldb::pid_t pid) in ProcessInstanceInfo() function
153 friend struct llvm::yaml::MappingTraits<ProcessInstanceInfo>;
159 typedef std::vector<ProcessInstanceInfo> ProcessInstanceInfoList;
179 ProcessInstanceInfo &GetProcessInfo() { return m_match_info; }
181 const ProcessInstanceInfo &GetProcessInfo() const { return m_match_info; }
201 bool ProcessIDsMatch(const ProcessInstanceInfo &proc_info) const;
205 bool UserIDsMatch(const ProcessInstanceInfo &proc_info) const;
207 bool Matches(const ProcessInstanceInfo &proc_info) const;
[all …]
/external/llvm-project/lldb/source/Utility/
DProcessInfo.cpp114 void ProcessInstanceInfo::Dump(Stream &s, UserIDResolver &resolver) const { in Dump()
164 void ProcessInstanceInfo::DumpTableHeader(Stream &s, bool show_args, in DumpTableHeader()
187 void ProcessInstanceInfo::DumpAsTableRow(Stream &s, UserIDResolver &resolver, in DumpAsTableRow()
196 auto print = [&](bool (ProcessInstanceInfo::*isValid)() const, in DumpAsTableRow()
197 uint32_t (ProcessInstanceInfo::*getID)() const, in DumpAsTableRow()
212 print(&ProcessInstanceInfo::UserIDIsValid, in DumpAsTableRow()
213 &ProcessInstanceInfo::GetUserID, &UserIDResolver::GetUserName); in DumpAsTableRow()
214 print(&ProcessInstanceInfo::GroupIDIsValid, in DumpAsTableRow()
215 &ProcessInstanceInfo::GetGroupID, &UserIDResolver::GetGroupName); in DumpAsTableRow()
216 print(&ProcessInstanceInfo::EffectiveUserIDIsValid, in DumpAsTableRow()
[all …]
/external/llvm-project/lldb/unittests/Utility/
DProcessInstanceInfoTest.cpp33 TEST(ProcessInstanceInfo, Dump) { in TEST() argument
34 ProcessInstanceInfo info("a.out", ArchSpec("x86_64-pc-linux"), 47); in TEST()
55 TEST(ProcessInstanceInfo, DumpTable) { in TEST() argument
56 ProcessInstanceInfo info("a.out", ArchSpec("x86_64-pc-linux"), 47); in TEST()
67 ProcessInstanceInfo::DumpTableHeader(s, show_args, verbose); in TEST()
77 TEST(ProcessInstanceInfo, DumpTable_invalidUID) { in TEST() argument
78 ProcessInstanceInfo info("a.out", ArchSpec("aarch64-unknown-linux-android"), 47); in TEST()
85 ProcessInstanceInfo::DumpTableHeader(s, show_args, verbose); in TEST()
96 ProcessInstanceInfo info_bar, info_empty; in TEST()
112 TEST(ProcessInstanceInfo, Yaml) { in TEST() argument
[all …]
/external/llvm-project/lldb/include/lldb/API/
DSBProcessInfo.h56 lldb_private::ProcessInstanceInfo &ref();
58 void SetProcessInfo(const lldb_private::ProcessInstanceInfo &proc_info_ref);
60 std::unique_ptr<lldb_private::ProcessInstanceInfo> m_opaque_up;
/external/llvm-project/lldb/source/Host/openbsd/
DHost.cpp59 ProcessInstanceInfo &process_info) { in GetOpenBSDProcessArgs()
105 static bool GetOpenBSDProcessCPUType(ProcessInstanceInfo &process_info) { in GetOpenBSDProcessCPUType()
115 static bool GetOpenBSDProcessUserAndGroup(ProcessInstanceInfo &process_info) { in GetOpenBSDProcessUserAndGroup()
183 ProcessInstanceInfo process_info; in FindProcessesImpl()
203 bool Host::GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessInfo()
/external/llvm-project/lldb/source/Host/linux/
DHost.cpp55 static bool GetStatusInfo(::pid_t Pid, ProcessInstanceInfo &ProcessInfo, in GetStatusInfo()
146 static void GetProcessArgs(::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessArgs()
162 static void GetExePathAndArch(::pid_t pid, ProcessInstanceInfo &process_info) { in GetExePathAndArch()
189 static void GetProcessEnviron(::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessEnviron()
205 ProcessInstanceInfo &process_info, in GetProcessAndStatInfo()
246 ProcessInstanceInfo process_info; in FindProcessesImpl()
300 bool Host::GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessInfo()
/external/llvm-project/lldb/source/Host/freebsd/
DHost.cpp49 ProcessInstanceInfo &process_info) { in GetFreeBSDProcessArgs()
107 static bool GetFreeBSDProcessCPUType(ProcessInstanceInfo &process_info) { in GetFreeBSDProcessCPUType()
117 static bool GetFreeBSDProcessUserAndGroup(ProcessInstanceInfo &process_info) { in GetFreeBSDProcessUserAndGroup()
210 ProcessInstanceInfo process_info; in FindProcessesImpl()
230 bool Host::GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessInfo()
/external/llvm-project/lldb/source/Host/netbsd/
DHostNetBSD.cpp51 ProcessInstanceInfo &process_info) { in GetNetBSDProcessArgs()
103 static bool GetNetBSDProcessCPUType(ProcessInstanceInfo &process_info) { in GetNetBSDProcessCPUType()
134 static bool GetNetBSDProcessUserAndGroup(ProcessInstanceInfo &process_info) { in GetNetBSDProcessUserAndGroup()
235 ProcessInstanceInfo process_info; in FindProcessesImpl()
256 bool Host::GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessInfo()
/external/llvm-project/lldb/include/lldb/Host/
DHost.h29 class ProcessInstanceInfo; variable
31 typedef std::vector<ProcessInstanceInfo> ProcessInstanceInfoList;
184 static bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info);
/external/llvm-project/lldb/source/API/
DSBProcessInfo.cpp40 ProcessInstanceInfo &SBProcessInfo::ref() { in ref()
42 m_opaque_up = std::make_unique<ProcessInstanceInfo>(); in ref()
47 void SBProcessInfo::SetProcessInfo(const ProcessInstanceInfo &proc_info_ref) { in SetProcessInfo()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerCommon.h116 static void CreateProcessInfoResponse(const ProcessInstanceInfo &proc_info,
120 const ProcessInstanceInfo &proc_info, StreamString &response);
DGDBRemoteCommunicationClient.h284 bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info);
609 ProcessInstanceInfo &process_info);
/external/llvm-project/lldb/source/Host/windows/
DHost.cpp80 ProcessInstanceInfo &process) { in GetProcessExecutableAndTriple()
150 ProcessInstanceInfo process; in FindProcessesImpl()
165 bool Host::GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &process_info) { in GetProcessInfo()
/external/llvm-project/lldb/unittests/Host/linux/
DHostTest.cpp32 ProcessInstanceInfo Info; in TEST_F()
/external/llvm-project/lldb/include/lldb/Target/
DProcessTrace.h69 bool GetProcessInfo(ProcessInstanceInfo &info) override;
DPlatform.h35 class ProcessInstanceInfo; variable
37 typedef std::vector<ProcessInstanceInfo> ProcessInstanceInfoList;
426 virtual bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info);
DRemoteAwarePlatform.h87 bool GetProcessInfo(lldb::pid_t pid, ProcessInstanceInfo &proc_info) override;
DProcess.h109 class ProcessAttachInfo : public ProcessInstanceInfo {
112 : ProcessInstanceInfo(), m_listener_sp(), m_hijack_listener_sp(), in ProcessAttachInfo()
118 : ProcessInstanceInfo(), m_listener_sp(), m_hijack_listener_sp(), in ProcessAttachInfo()
159 ProcessInstanceInfo::Clear(); in Clear()
1340 virtual bool GetProcessInfo(ProcessInstanceInfo &info);
/external/llvm-project/lldb/source/Plugins/Process/minidump/
DProcessMinidump.h86 bool GetProcessInfo(ProcessInstanceInfo &info) override;
/external/llvm-project/lldb/source/Target/
DProcessTrace.cpp114 bool ProcessTrace::GetProcessInfo(ProcessInstanceInfo &info) { in GetProcessInfo()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DNativeThreadWindows.cpp87 ProcessInstanceInfo process_info; in GetName()
DNativeProcessWindows.cpp77 ProcessInstanceInfo info; in NativeProcessWindows()
406 ProcessInstanceInfo process_info; in OnDebuggerConnected()
/external/llvm-project/lldb/source/Plugins/Process/elf-core/
DProcessElfCore.h103 bool GetProcessInfo(lldb_private::ProcessInstanceInfo &info) override;
/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/Commands/
DCommandObjectPlatform.cpp1128 ProcessInstanceInfo proc_info; in DoExecute()
1130 ProcessInstanceInfo::DumpTableHeader(ostrm, m_options.show_args, in DoExecute()
1190 ProcessInstanceInfo::DumpTableHeader(ostrm, m_options.show_args, in DoExecute()
1415 ProcessInstanceInfo proc_info; in DoExecute()

12