dumpstate: dump trusty log
Dump trusty log buffer Bug: 188285071 Test: adb bugreport Change-Id: Ic44816fe1df21e97ec87ec58cbc2f84abf0e6a98
This commit is contained in:
parent
c1cf9f84b5
commit
fbbe7e36c7
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue