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

Commit b5e4ddd1 authored by Yi Jin's avatar Yi Jin Committed by Android (Google) Code Review
Browse files

Merge "Enable Diskstats Section"

parents 895df638 a5c5e8a9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -179,8 +179,8 @@ Reporter::runReport()
            // Execute - go get the data and write it into the file descriptors.
            err = (*section)->Execute(&batch);
            if (err != NO_ERROR) {
                ALOGW("Incident section %s (%d) failed. Stopping report.",
                        (*section)->name.string(), id);
                ALOGW("Incident section %s (%d) failed: %s. Stopping report.",
                        (*section)->name.string(), id, strerror(-err));
                goto DONE;
            }

+7 −1
Original line number Diff line number Diff line
@@ -82,11 +82,17 @@ message IncidentProto {
        (section).type = SECTION_DUMPSYS,
        (section).args = "notification --proto"
    ];

    android.service.battery.BatteryServiceDumpProto battery = 3006 [
        (section).type = SECTION_DUMPSYS,
        (section).args = "battery --proto"
    ];
    android.service.diskstats.DiskStatsServiceDumpProto diskstats = 3007;

    android.service.diskstats.DiskStatsServiceDumpProto diskstats = 3007 [
        (section).type = SECTION_DUMPSYS,
        (section).args = "diskstats --proto"
    ];

    android.service.pm.PackageServiceDumpProto package = 3008;
    android.service.power.PowerServiceDumpProto power = 3009;
    android.service.print.PrintServiceDumpProto print = 3010;