llvm-project/lldb/source/Plugins/Process
Walter Erquinigo 48a50ee034 [android/process list] support showing process arguments
Summary:
The qfProcessInfo and qsProcessInfo packets currently don't set the processes' arguments, however the platform process list -v command tries to print it.
In this diff I'm adding the arguments as part of the packet, and now the command shows the arguments just like on mac.

On Mac:

507    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/secd
503    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/secinitd
501    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/languageassetd --firstLogin
497    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/trustd --agent
496    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/lsd
494    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /System/Library/Frameworks/CoreTelephony.framework/Support/CommCenter -L
491    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/sbin/distnoted agent
489    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/libexec/UserEventAgent (Aqua)
484    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /usr/sbin/cfprefsd agent
483    1      wallace    1876110778 wallace    1876110778 x86_64-apple-macosx      /System/Library/Frameworks/LocalAuthentication.framework/Support/coreauthd
On android:

1561   1016   root       0                     0          aarch64-unknown-linux-android  /system/bin/ip6tables-restore--noflush -w -v
1805   982    1000       1000                  1000                                      android:drmService
1811   982    10189      10189                 10189                                     com.qualcomm.embms:remote
1999   1      1000       1000                  1000       aarch64-unknown-linux-android  /system/bin/tlc_serverCCM
2332   982    10038      10038                 10038                                     com.android.systemui
2378   983    1053       1053                  1053                                      webview_zygote
2448   982    5013       5013                  5013                                      com.sec.location.nsflp2
2465   982    10027      10027                 10027                                     com.google.android.gms.persistent

Differential Revision:  https://reviews.llvm.org/D68293

llvm-svn: 375029
2019-10-16 18:47:05 +00:00
..
Darwin factor out an abstract base class for File 2019-10-03 04:31:46 +00:00
FreeBSD Fix process launch failure on FreeBSD after r365761 2019-10-10 20:26:59 +00:00
Linux NativeProcessLinux: Remove some register context boilerplate 2019-09-02 12:50:18 +00:00
MacOSX-Kernel [lldb] Qualify includes of Properties[Enum].inc files. NFC 2019-07-29 17:22:10 +00:00
NetBSD [lldb] [Process/NetBSD] Fix handling LLDB_INVALID_SIGNAL_NUMBER 2019-09-24 13:41:54 +00:00
POSIX Obliterate LLDB_CONFIGURATION_BUILDANDINTEGRATION 2019-09-05 07:09:31 +00:00
Utility [Windows] Use information from the PE32 exceptions directory to construct unwind plans 2019-10-11 09:03:29 +00:00
Windows/Common [LLDB] [Windows] Initial support for ARM64 register contexts 2019-10-15 08:31:52 +00:00
elf-core Fix ELF core file memory reading for PT_LOAD program headers with no p_filesz 2019-09-09 21:45:49 +00:00
gdb-remote [android/process list] support showing process arguments 2019-10-16 18:47:05 +00:00
mach-core [Logging] Replace Log::Printf with LLDB_LOG macro (NFC) 2019-07-24 17:56:10 +00:00
minidump minidump: Use llvm memory info list parser 2019-10-11 11:23:40 +00:00
CMakeLists.txt Enable ProcessMachCore plugin on non-apple platforms 2018-05-22 16:33:43 +00:00