diff options
author | Jayachandran Chinnakkannu <jayachandranc@google.com> | 2019-08-14 13:21:59 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-08-14 13:21:59 -0700 |
commit | 20256d2b4d5def8c3201f8070a799a37134d8723 (patch) | |
tree | 149f271c7aa896e6eb6a67ff6cc6eae64bbd2117 | |
parent | 581c22f979af05e48ad4843cdfa9605186d286da (diff) | |
parent | 0c5f26bab85bbacaa87b33692bcc29a3c1dea021 (diff) | |
download | native-20256d2b4d5def8c3201f8070a799a37134d8723.tar.gz |
Merge "Dump HALs and enable persistent logs for radio bugreports" into qt-r1-dev
am: 0c5f26bab8
Change-Id: I3494ba285c31c2971f1fdb0d96d314eabc0f138d
-rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 4ac7b689cf..5de40776b9 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1594,6 +1594,8 @@ static Dumpstate::RunStatus DumpstateDefault() { static void DumpstateRadioCommon() { DumpIpTablesAsRoot(); + ds.AddDir(LOGPERSIST_DATA_DIR, false); + if (!DropRootUser()) { return; } @@ -1604,6 +1606,7 @@ static void DumpstateRadioCommon() { DoKmsg(); DumpIpAddrAndRules(); dump_route_tables(); + DumpHals(); RunDumpsys("NETWORK DIAGNOSTICS", {"connectivity", "--diag"}, CommandOptions::WithTimeout(10).Build()); @@ -1673,8 +1676,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"); |