mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 11:27:36 +00:00
move trusty dump from gs201 to gs-common
Bug: 244504232 Test: adb bugreport Change-Id: I7d92225a02c64a8e7371ba7c25e7ea38e99b1d1a
This commit is contained in:
@@ -235,7 +235,6 @@ Dumpstate::Dumpstate()
|
||||
{ "aoc", [this](int fd) { dumpAoCSection(fd); } },
|
||||
{ "ramdump", [this](int fd) { dumpRamdumpSection(fd); } },
|
||||
{ "misc", [this](int fd) { dumpMiscSection(fd); } },
|
||||
{ "trusty", [this](int fd) { dumpTrustySection(fd); } },
|
||||
{ "led", [this](int fd) { dumpLEDSection(fd); } },
|
||||
},
|
||||
mLogSections{
|
||||
@@ -1076,10 +1075,6 @@ void Dumpstate::dumpMiscSection(int fd) {
|
||||
DumpFileToFd(fd, "VENDOR PROC DUMP", "/proc/vendor_sched/dump_task");
|
||||
}
|
||||
|
||||
void Dumpstate::dumpTrustySection(int fd) {
|
||||
RunCommandToFd(fd, "Trusty TEE0 Logs", {"/vendor/bin/sh", "-c", "cat /dev/trusty-log0"}, CommandOptions::WithTimeout(1).Build());
|
||||
}
|
||||
|
||||
// Dump items related to LED
|
||||
void Dumpstate::dumpLEDSection(int fd) {
|
||||
struct stat buffer;
|
||||
|
||||
Reference in New Issue
Block a user