summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-05-04 14:03:54 -0700
committerElliott Hughes <enh@google.com>2016-05-04 14:03:54 -0700
commit32caf1d80b689d7763a7cf853880987ccc24a479 (patch)
tree60901873ff6be927568b089aa598da122aeeed1f
parent8a414ededd8b48a07de5faac03cc473ce5a42735 (diff)
downloadnative-32caf1d80b689d7763a7cf853880987ccc24a479.tar.gz
Switch to more conventional ps arguments in dumpstate.
I'll come back and remove the "toybox" once I've switched the symlink from toolbox to toybox... Change-Id: I00f848ab4dade8650726b054429a2926d3d72018
-rw-r--r--cmds/dumpstate/dumpstate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index f10995df4f..6b8ca570b0 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -429,7 +429,8 @@ static void dumpstate() {
dump_file("KERNEL CPUFREQ", "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state");
dump_file("KERNEL SYNC", "/d/sync");
- run_command("PROCESSES AND THREADS", 10, "ps", "-Z", "-t", "-p", "-P", NULL);
+ run_command("PROCESSES AND THREADS", 10, "toybox", "ps", "-A", "-T", "-Z",
+ "-O", "pri,nice,rtprio,sched,pcy", NULL);
run_command("LIBRANK", 10, "librank", NULL);
do_dmesg();