diff options
author | Evan Millar <emillar@google.com> | 2009-10-29 12:41:39 -0700 |
---|---|---|
committer | Evan Millar <emillar@google.com> | 2009-10-29 12:53:46 -0700 |
commit | 26a2d829b37d2658e5e037f1f8ce968bbd9f2164 (patch) | |
tree | 42ef6fc1b190546a644373cad68de6ac404174f9 /cmds/dumpstate/dumpstate.c | |
parent | fb872d1af3c775114ac7d241eb1924a9aafbb9df (diff) | |
download | frameworks_base-26a2d829b37d2658e5e037f1f8ce968bbd9f2164.zip frameworks_base-26a2d829b37d2658e5e037f1f8ce968bbd9f2164.tar.gz frameworks_base-26a2d829b37d2658e5e037f1f8ce968bbd9f2164.tar.bz2 |
Add -P flag to ps in dumpstate
Diffstat (limited to 'cmds/dumpstate/dumpstate.c')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index ca8660c..642c943 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -86,9 +86,9 @@ static void dumpstate(int full) { DUMP("/proc/wakelocks"); PRINT(""); PRINT("------ PROCESSES ------"); - EXEC("ps"); + EXEC1("ps", "-P"); PRINT("------ PROCESSES AND THREADS ------"); - EXEC2("ps", "-t", "-p"); + EXEC3("ps", "-t", "-p", "-P"); PRINT("------ LIBRANK ------"); EXEC_XBIN("librank"); PRINT("------ BINDER FAILED TRANSACTION LOG ------"); @@ -362,4 +362,3 @@ static void dump_kernel_log(const char *path, const char *title) DUMP(path); } } - |