move soc dump to gs-common
Bug: 248428203 Test: adb bugreport Change-Id: Ia96ecf46bb3af9d72da1bf30cfa0d17d9985e4c4
This commit is contained in:
parent
a690698afa
commit
69aa9e1774
3 changed files with 1 additions and 12 deletions
|
@ -251,7 +251,6 @@ DumpstateDevice::DumpstateDevice()
|
|||
: mTextSections{
|
||||
{ "pre-touch", [this](int fd) { dumpPreTouchSection(fd); } },
|
||||
{ "wlan", [this](int fd) { dumpWlanSection(fd); } },
|
||||
{ "soc", [this](int fd) { dumpSocSection(fd); } },
|
||||
{ "memory", [this](int fd) { dumpMemorySection(fd); } },
|
||||
{ "Devfreq", [this](int fd) { dumpDevfreqSection(fd); } },
|
||||
{ "cpu", [this](int fd) { dumpCpuSection(fd); } },
|
||||
|
@ -819,16 +818,6 @@ void DumpstateDevice::dumpTouchSection(int fd) {
|
|||
}
|
||||
}
|
||||
|
||||
// Dump items related to SoC
|
||||
void DumpstateDevice::dumpSocSection(int fd) {
|
||||
DumpFileToFd(fd, "AP HW TUNE", "/sys/devices/system/chip-id/ap_hw_tune_str");
|
||||
DumpFileToFd(fd, "EVT VERSION", "/sys/devices/system/chip-id/evt_ver");
|
||||
DumpFileToFd(fd, "LOT ID", "/sys/devices/system/chip-id/lot_id");
|
||||
DumpFileToFd(fd, "PRODUCT ID", "/sys/devices/system/chip-id/product_id");
|
||||
DumpFileToFd(fd, "REVISION", "/sys/devices/system/chip-id/revision");
|
||||
DumpFileToFd(fd, "RAW STR", "/sys/devices/system/chip-id/raw_str");
|
||||
}
|
||||
|
||||
// Dump items related to CPUs
|
||||
void DumpstateDevice::dumpCpuSection(int fd) {
|
||||
DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue