From e8d996e11b36b26376896abe32f62792aeed5e25 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 28 Nov 2023 11:55:44 -0800 Subject: 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 --- cmds/dumpstate/dumpstate.cpp | 2 -- 1 file changed, 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"}); -- cgit v1.2.3-59-g8ed1b