dumpstate: Increase MIF stats timeout

Increase command timeout to allow full printing of MIF request stats

Bug: 225585054
Test: On R4
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I6dbce4d1d0e31d3e82da825b8b1a0e8de3041842
This commit is contained in:
Luigi Zevola 2022-04-26 20:43:51 +00:00
parent 7ac5f71ed9
commit f8121ea9ba

View file

@ -994,7 +994,7 @@ void DumpstateDevice::dumpAoCSection(int fd) {
{"/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", RunCommandToFd(fd, "AoC MIF Stats",
{"/vendor/bin/sh", "-c", "echo 'mif details' > /dev/acd-debug; timeout 0.1 cat /dev/acd-debug"}, {"/vendor/bin/sh", "-c", "echo 'mif details' > /dev/acd-debug; timeout 0.5 cat /dev/acd-debug"},
CommandOptions::WithTimeout(1).Build()); CommandOptions::WithTimeout(1).Build());
} }