OSDN Git Service

Further reduce duplication in bugreport ps output.
authorElliott Hughes <enh@google.com>
Mon, 2 Nov 2015 22:16:09 +0000 (14:16 -0800)
committerElliott Hughes <enh@google.com>
Mon, 2 Nov 2015 22:16:09 +0000 (14:16 -0800)
PROCESSES and PROCESSES AND THREADS can be combined. There's nothing in
the former that isn't in the latter.

Change-Id: I105a6d8d35488236ef6dbf4107496ea7e5ad70ea

cmds/dumpstate/dumpstate.c

index ab2376b..9a13499 100644 (file)
@@ -313,7 +313,6 @@ 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", 10, "ps", "-P", NULL);
     run_command("PROCESSES AND THREADS", 10, "ps", "-Z", "-t", "-p", "-P", NULL);
     run_command("LIBRANK", 10, "librank", NULL);