Add soc serial number to bugreport

Test: Verified serial number is present in bugreport
Bug: 62305405
Change-Id: Ie06f1a93af1fd3006d57a46c9e6e5fad85433fe1
This commit is contained in:
Ajay Dudani
2017-06-02 17:47:49 -07:00
parent 459298d237
commit 132939e579
2 changed files with 2 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
}
getModemLogs(fd);
DumpFileToFd(fd, "SoC serial number", "/sys/devices/soc0/serial_number");
DumpFileToFd(fd, "CPU present", "/sys/devices/system/cpu/present");
DumpFileToFd(fd, "CPU online", "/sys/devices/system/cpu/online");
DumpFileToFd(fd, "INTERRUPTS", "/proc/interrupts");