Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02bea978 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

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
parent b83290c7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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");