summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-06-26 18:59:09 -0700
committerDianne Hackborn <hackbod@google.com>2013-06-26 18:59:09 -0700
commit02bea9786d2ecc4c04f35fd7d9b73d4dd2b73735 (patch)
tree32785428691d36270b3413861e9173d624bd11d1 /cmds
parentb83290c7b79b7dee0bd1870617ceda063bfcc1f9 (diff)
downloadframeworks_native-02bea9786d2ecc4c04f35fd7d9b73d4dd2b73735.zip
frameworks_native-02bea9786d2ecc4c04f35fd7d9b73d4dd2b73735.tar.gz
frameworks_native-02bea9786d2ecc4c04f35fd7d9b73d4dd2b73735.tar.bz2
Add checkin dumps to bug reports.
This is a duplicate of the associated human-readable dumps of these services, but much better for automated parsing. Change-Id: I902b768b03aeac1472f03f96913f9b8ada5dba9c
Diffstat (limited to 'cmds')
-rw-r--r--cmds/dumpstate/dumpstate.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c
index 89bea91..ed362d7 100644
--- a/cmds/dumpstate/dumpstate.c
+++ b/cmds/dumpstate/dumpstate.c
@@ -278,6 +278,15 @@ static void dumpstate() {
run_command("DUMPSYS", 60, "dumpsys", NULL);
printf("========================================================\n");
+ printf("== Checkins\n");
+ printf("========================================================\n");
+
+ run_command("CHECKIN BATTERYSTATS", 30, "dumpsys", "batterystats", "--checkin", NULL);
+ run_command("CHECKIN NETSTATS", 30, "dumpsys", "netstats", "--checkin", NULL);
+ run_command("CHECKIN PROCSTATS", 30, "dumpsys", "procstats", "--checkin", NULL);
+ run_command("CHECKIN USAGESTATS", 30, "dumpsys", "usagestats", "--c", NULL);
+
+ printf("========================================================\n");
printf("== Running Application Activities\n");
printf("========================================================\n");