summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2023-11-28 11:55:44 -0800
committer Elliott Hughes <enh@google.com> 2023-11-28 11:55:44 -0800
commite8d996e11b36b26376896abe32f62792aeed5e25 (patch)
treee852f416e0533fd0304351b0e9fc6e4f035e2c4f
parenta4f2d92c233ed77270b68690e5e5164190e3e12e (diff)
dumpstate: stop including "LOG STATISTICS".
The bookkeeping for `logcat -S` is pretty expensive, and it's unclear that anyone's actually using the resulting data for anything, so as a first step, let's stop collecting it in bugreports and see if anyone notices. Bug: http://b/235157236 Test: treehugger Change-Id: Id405119e5a8433fa0f8348b687c94596e595a03d
-rw-r--r--cmds/dumpstate/dumpstate.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 6fdf1c5233..428d53b4e5 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1034,8 +1034,6 @@ static void DoLogcat() {
CommandOptions::WithTimeoutInMs(timeout_ms).Build(), true /* verbose_duration */);
DoRadioLogcat();
- RunCommand("LOG STATISTICS", {"logcat", "-b", "all", "-S"});
-
/* kernels must set CONFIG_PSTORE_PMSG, slice up pstore with device tree */
RunCommand("LAST LOGCAT", {"logcat", "-L", "-b", "all", "-v", "threadtime", "-v", "printable",
"-v", "uid", "-d", "*:v"});