Accelerate fetching trusty log am: b074658691

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

Change-Id: I6e9d466c956e8bd9bd41b7e439c4663c00a43b0c
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:13 +00:00 committed by Automerger Merge Worker
commit 723b28b328

View file

@ -1063,7 +1063,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) {