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
This commit is contained in:
Dianne Hackborn 2013-06-26 18:59:09 -07:00
parent b83290c7b7
commit 02bea9786d

View File

@ -277,6 +277,15 @@ static void dumpstate() {
dumpsys itself... */
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");