dumpstate: dump trusty log am: 20b9bee9bb am: d94ac5ccb0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14861976 Change-Id: Ia28f0a839da57c4de3f82dd4daf68f6a1ac59fe9
This commit is contained in:
commit
e271d38e71
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