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

Commit abd47fe4 authored by Jayachandran Chinnakkannu's avatar Jayachandran Chinnakkannu Committed by android-build-merger
Browse files

Merge "Dump HALs and enable persistent logs for radio bugreports" am: 49eea1e7

am: 6c1fbfa0

Change-Id: Ib0f7d6c93dfbb34cbaf5200a71cad8b33960ea4e
parents 674dc994 6c1fbfa0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1547,6 +1547,8 @@ static Dumpstate::RunStatus DumpstateDefault() {
static void DumpstateRadioCommon() {
    DumpIpTablesAsRoot();

    ds.AddDir(LOGPERSIST_DATA_DIR, false);

    if (!DropRootUser()) {
        return;
    }
@@ -1557,6 +1559,7 @@ static void DumpstateRadioCommon() {
    DoKmsg();
    DumpIpAddrAndRules();
    dump_route_tables();
    DumpHals();

    RunDumpsys("NETWORK DIAGNOSTICS", {"connectivity", "--diag"},
               CommandOptions::WithTimeout(10).Build());
@@ -1626,8 +1629,6 @@ static void DumpstateWifiOnly() {
    RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(),
               SEC_TO_MSEC(10));

    DumpHals();

    printf("========================================================\n");
    printf("== dumpstate: done (id %d)\n", ds.id_);
    printf("========================================================\n");