Loading cmds/dumpstate/dumpstate.cpp +9 −0 Original line number Diff line number Diff line Loading @@ -3172,6 +3172,15 @@ void Dumpstate::MaybeSnapshotWinTrace() { "", {"cmd", service, "tracing", "save-for-bugreport"}, CommandOptions::WithTimeout(10).Always().DropRoot().RedirectStderr().Build()); } // Additionally, include the proto logging from WMShell. RunCommand( // Empty name because it's not intended to be classified as a bugreport section. // Actual logging files can be found as "/data/misc/wmtrace/shell_log.winscope" // in the bugreport. "", {"dumpsys", "activity", "service", "SystemUIService", "WMShell", "protolog", "save-for-bugreport"}, CommandOptions::WithTimeout(10).Always().DropRoot().RedirectStderr().Build()); } void Dumpstate::onUiIntensiveBugreportDumpsFinished(int32_t calling_uid) { Loading Loading
cmds/dumpstate/dumpstate.cpp +9 −0 Original line number Diff line number Diff line Loading @@ -3172,6 +3172,15 @@ void Dumpstate::MaybeSnapshotWinTrace() { "", {"cmd", service, "tracing", "save-for-bugreport"}, CommandOptions::WithTimeout(10).Always().DropRoot().RedirectStderr().Build()); } // Additionally, include the proto logging from WMShell. RunCommand( // Empty name because it's not intended to be classified as a bugreport section. // Actual logging files can be found as "/data/misc/wmtrace/shell_log.winscope" // in the bugreport. "", {"dumpsys", "activity", "service", "SystemUIService", "WMShell", "protolog", "save-for-bugreport"}, CommandOptions::WithTimeout(10).Always().DropRoot().RedirectStderr().Build()); } void Dumpstate::onUiIntensiveBugreportDumpsFinished(int32_t calling_uid) { Loading