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

Commit 49eea1e7 authored by Jayachandran Chinnakkannu's avatar Jayachandran Chinnakkannu Committed by Gerrit Code Review
Browse files

Merge "Dump HALs and enable persistent logs for radio bugreports"

parents 8385d699 6996827f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1510,6 +1510,8 @@ static Dumpstate::RunStatus DumpstateDefault() {
static void DumpstateRadioCommon() {
    DumpIpTablesAsRoot();

    ds.AddDir(LOGPERSIST_DATA_DIR, false);

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

    RunDumpsys("NETWORK DIAGNOSTICS", {"connectivity", "--diag"},
               CommandOptions::WithTimeout(10).Build());
@@ -1589,8 +1592,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");