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

Commit fed51cf4 authored by Adam Bookatz's avatar Adam Bookatz Committed by Android (Google) Code Review
Browse files

Merge "Statsd dump data and metadata to bugreport"

parents 3bd040ec 3847214b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1374,6 +1374,12 @@ static void dumpstate() {
    printf("========================================================\n");
    printf("== dumpstate: done (id %d)\n", ds.id_);
    printf("========================================================\n");

    printf("========================================================\n");
    printf("== Obtaining statsd metadata\n");
    printf("========================================================\n");
    // This differs from the usual dumpsys stats, which is the stats report data.
    RunDumpsys("STATSDSTATS", {"stats", "--metadata"});
}

/* Dumps state for the default case. Returns true if everything went fine. */