From f8121ea9bab9c5f08551b3b78d851bb548291741 Mon Sep 17 00:00:00 2001 From: Luigi Zevola Date: Tue, 26 Apr 2022 20:43:51 +0000 Subject: [PATCH] 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 Change-Id: I6dbce4d1d0e31d3e82da825b8b1a0e8de3041842 --- dumpstate/DumpstateDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 3b6a1552..a531385d 100644 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -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"}, 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"}, + {"/vendor/bin/sh", "-c", "echo 'mif details' > /dev/acd-debug; timeout 0.5 cat /dev/acd-debug"}, CommandOptions::WithTimeout(1).Build()); }