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

Commit 263c7fb4 authored by Kevin Jeon's avatar Kevin Jeon
Browse files

Remove CHECKIN MEMINFO section from dumpstate

This change removes the call to 'dumpsys meminfo --checkin', as it was
added in ~2013 and seems to be unused. The meminfo checkin accounts for
almost all of the DUMP CHECKINS section duration (~6.5s on AOSP redfin).
Removing the meminfo checkin makes the DUMP CHECKINS duration
negligible (<250ms).

Test: Checked that bug reports no longer contain CHECKIN MEMINFO.
Bug: 239227919
Change-Id: Ia5e1df4f5a833353b48d18a3518a8bd293f49bef
parent 227e5fcd
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1508,7 +1508,6 @@ static void DumpCheckins(int out_fd = STDOUT_FILENO) {
    dprintf(out_fd, "========================================================\n");

    RunDumpsys("CHECKIN BATTERYSTATS", {"batterystats", "-c"}, out_fd);
    RunDumpsys("CHECKIN MEMINFO", {"meminfo", "--checkin"}, out_fd);
    RunDumpsys("CHECKIN NETSTATS", {"netstats", "--checkin"}, out_fd);
    RunDumpsys("CHECKIN PROCSTATS", {"procstats", "-c"}, out_fd);
    RunDumpsys("CHECKIN USAGESTATS", {"usagestats", "-c"}, out_fd);