dumpstate: Add aoc memory vote dump for a32 and ff1 am: 0327040142
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/19738947 Change-Id: Ie598bcd62199f531836d7ad39d8c799abdb398f0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
0c0e38a98c
1 changed files with 2 additions and 4 deletions
|
@ -976,7 +976,8 @@ void DumpstateDevice::dumpAoCSection(int fd) {
|
||||||
DumpFileToFd(fd, "AoC logging wake", "/sys/devices/platform/19000000.aoc/control/logging_wakeup");
|
DumpFileToFd(fd, "AoC logging wake", "/sys/devices/platform/19000000.aoc/control/logging_wakeup");
|
||||||
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");
|
||||||
DumpFileToFd(fd, "AoC memory exception wake", "/sys/devices/platform/19000000.aoc/control/memory_exception");
|
DumpFileToFd(fd, "AoC memory exception wake", "/sys/devices/platform/19000000.aoc/control/memory_exception");
|
||||||
DumpFileToFd(fd, "AoC memory votes", "/sys/devices/platform/19000000.aoc/control/memory_votes");
|
DumpFileToFd(fd, "AoC memory votes", "/sys/devices/platform/19000000.aoc/control/memory_votes_a32");
|
||||||
|
DumpFileToFd(fd, "AoC memory votes", "/sys/devices/platform/19000000.aoc/control/memory_votes_ff1");
|
||||||
RunCommandToFd(fd, "AoC Heap Stats (A32)",
|
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"},
|
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 1' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||||
CommandOptions::WithTimeout(1).Build());
|
CommandOptions::WithTimeout(1).Build());
|
||||||
|
@ -989,9 +990,6 @@ void DumpstateDevice::dumpAoCSection(int fd) {
|
||||||
RunCommandToFd(fd, "AoC Heap Stats (HF1)",
|
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"},
|
{"/vendor/bin/sh", "-c", "echo 'dbg heap -c 4' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"},
|
||||||
CommandOptions::WithTimeout(1).Build());
|
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