dumpstate: dump trusty log am: 20b9bee9bb am: d94ac5ccb0 am: 6b05171fbc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14861976 Change-Id: Iefa8868832cd98578a1ba1bb2f7fcfa271c2703b
This commit is contained in:
commit
61d5af1f46
2 changed files with 6 additions and 0 deletions
|
@ -255,6 +255,7 @@ DumpstateDevice::DumpstateDevice()
|
|||
{ "misc", [this](int fd) { dumpMiscSection(fd); } },
|
||||
{ "gsc", [this](int fd) { dumpGscSection(fd); } },
|
||||
{ "camera", [this](int fd) { dumpCameraSection(fd); } },
|
||||
{ "trusty", [this](int fd) { dumpTrustySection(fd); } },
|
||||
} {
|
||||
}
|
||||
|
||||
|
@ -921,6 +922,10 @@ void DumpstateDevice::dumpCameraSection(int fd) {
|
|||
CommandOptions::WithTimeout(4).Build());
|
||||
}
|
||||
|
||||
void DumpstateDevice::dumpTrustySection(int fd) {
|
||||
DumpFileToFd(fd, "Trusty TEE0 Logs", "/dev/trusty-log0");
|
||||
}
|
||||
|
||||
void DumpstateDevice::dumpModem(int fd, int fdModem)
|
||||
{
|
||||
std::string modemLogDir = MODEM_LOG_DIRECTORY;
|
||||
|
|
|
@ -83,6 +83,7 @@ struct DumpstateDevice : public IDumpstateDevice {
|
|||
void dumpMiscSection(int fd);
|
||||
void dumpGscSection(int fd);
|
||||
void dumpCameraSection(int fd);
|
||||
void dumpTrustySection(int fd);
|
||||
|
||||
// Hybrid and binary sections that require an additional file descriptor
|
||||
void dumpModem(int fd, int fdModem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue