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

Commit efb85d92 authored by Bryan Yu's avatar Bryan Yu
Browse files

Add ANR traces to DumpstateLimitedOnly

Privacy approved: b/303373337

Bug: 298145042
Test: adb shell cmd activity bug-report

Change-Id: I6119b6f35c05d0ed85ba80a3c19a690e322c9e61
parent 6af06062
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1563,6 +1563,13 @@ static void DumpstateLimitedOnly() {
    RunDumpsys("DROPBOX SYSTEM SERVER CRASHES", {"dropbox", "-p", "system_server_crash"});
    RunDumpsys("DROPBOX SYSTEM APP CRASHES", {"dropbox", "-p", "system_app_crash"});


    printf("========================================================\n");
    printf("== ANR Traces\n");
    printf("========================================================\n");

    AddAnrTraceFiles();

    printf("========================================================\n");
    printf("== Final progress (pid %d): %d/%d (estimated %d)\n", ds.pid_, ds.progress_->Get(),
           ds.progress_->GetMax(), ds.progress_->GetInitialMax());