Accelerate fetching trusty log am: b074658691

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19395411

Change-Id: I017794c4596b40cef0ad0b82059ae816fdd18a4f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Adam Shih 2022-07-26 00:34:12 +00:00 committed by Automerger Merge Worker
commit 1334b20d50

View file

@ -1074,7 +1074,7 @@ void Dumpstate::dumpGscSection(int fd) {
}
void Dumpstate::dumpTrustySection(int fd) {
DumpFileToFd(fd, "Trusty TEE0 Logs", "/dev/trusty-log0");
RunCommandToFd(fd, "Trusty TEE0 Logs", {"/vendor/bin/sh", "-c", "cat /dev/trusty-log0"}, CommandOptions::WithTimeout(1).Build());
}
void Dumpstate::dumpModemSection(int fd) {