dumpstate: remove tasks prints and clean up
Remove tasks printing when dumping state and clean up format
Bug: 226718218
Test: On C10
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I275b9d213c133e8b80cbdb88d587c83cfe395089
(cherry picked from commit ce46e3cd48
)
This commit is contained in:
parent
ec97992b78
commit
d2c46291d5
1 changed files with 15 additions and 10 deletions
|
@ -926,16 +926,21 @@ void DumpstateDevice::dumpAoCSection(int fd) {
|
||||||
DumpFileToFd(fd, "AoC hotword wake", "/sys/devices/platform/19000000.aoc/control/hotword_wakeup");
|
DumpFileToFd(fd, "AoC hotword wake", "/sys/devices/platform/19000000.aoc/control/hotword_wakeup");
|
||||||
RunCommandToFd(fd, "AoC memory exception wake", {"/vendor/bin/sh", "-c", "cat /sys/devices/platform/19000000.aoc/control/memory_exception"}, CommandOptions::WithTimeout(2).Build());
|
RunCommandToFd(fd, "AoC memory exception wake", {"/vendor/bin/sh", "-c", "cat /sys/devices/platform/19000000.aoc/control/memory_exception"}, CommandOptions::WithTimeout(2).Build());
|
||||||
RunCommandToFd(fd, "AoC memory votes", {"/vendor/bin/sh", "-c", "cat /sys/devices/platform/19000000.aoc/control/memory_votes"}, CommandOptions::WithTimeout(2).Build());
|
RunCommandToFd(fd, "AoC memory votes", {"/vendor/bin/sh", "-c", "cat /sys/devices/platform/19000000.aoc/control/memory_votes"}, CommandOptions::WithTimeout(2).Build());
|
||||||
RunCommandToFd(fd, "AoC Heap Stats (A32)", {"/vendor/bin/sh", "-c", "echo 'dbg heap -c 1' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
RunCommandToFd(fd, "AoC Heap Stats (A32)",
|
||||||
RunCommandToFd(fd, "AoC Heap Stats (F1)", {"/vendor/bin/sh", "-c", "echo 'dbg heap -c 2' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 1' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||||
RunCommandToFd(fd, "AoC Heap Stats (HF0)", {"/vendor/bin/sh", "-c", "echo 'dbg heap -c 3' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
CommandOptions::WithTimeout(1).Build());
|
||||||
RunCommandToFd(fd, "AoC Heap Stats (HF1)", {"/vendor/bin/sh", "-c", "echo 'dbg heap -c 4' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
RunCommandToFd(fd, "AoC Heap Stats (F1)",
|
||||||
RunCommandToFd(fd, "AoC Tasks Stats (A32)", {"/vendor/bin/sh", "-c", "echo 'dbg tasks -c 1' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 2' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||||
RunCommandToFd(fd, "AoC Tasks Stats (F1)", {"/vendor/bin/sh", "-c", "echo 'dbg tasks -c 2' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
CommandOptions::WithTimeout(1).Build());
|
||||||
RunCommandToFd(fd, "AoC Tasks Stats (HF0)", {"/vendor/bin/sh", "-c", "echo 'dbg tasks -c 3' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
RunCommandToFd(fd, "AoC Heap Stats (HF0)",
|
||||||
RunCommandToFd(fd, "AoC Tasks Stats (HF1)", {"/vendor/bin/sh", "-c", "echo 'dbg tasks -c 4' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 3' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||||
RunCommandToFd(fd, "AoC MIF Stats", {"/vendor/bin/sh", "-c", "echo 'mif details' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build());
|
CommandOptions::WithTimeout(1).Build());
|
||||||
|
RunCommandToFd(fd, "AoC Heap Stats (HF1)",
|
||||||
|
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 4' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||||
|
CommandOptions::WithTimeout(1).Build());
|
||||||
|
RunCommandToFd(fd, "AoC MIF Stats",
|
||||||
|
{"/vendor/bin/sh", "-c", "echo 'mif details' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||||
|
CommandOptions::WithTimeout(1).Build());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dump items related to sensors usf.
|
// Dump items related to sensors usf.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue