dumpstate: Collect PCIe link stats [DO NOT MERGE] am: b8ff3f3f68
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/21319973 Change-Id: I1d667e368acd8a12d3d5a3858ea88c7178b5b55d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
7b26364572
1 changed files with 4 additions and 0 deletions
|
@ -1210,6 +1210,10 @@ void Dumpstate::dumpLEDSection(int fd) {
|
|||
void Dumpstate::dumpPCIeSection(int fd) {
|
||||
DumpFileToFd(fd, "PCIe0 Logs", "/dev/logbuffer_pcie0");
|
||||
DumpFileToFd(fd, "PCIe1 Logs", "/dev/logbuffer_pcie1");
|
||||
RunCommandToFd(fd, "PCIe Link Statistics", {"/vendor/bin/sh", "-c",
|
||||
"for f in ls /sys/devices/platform/14520000.pcie/link_stats/* "
|
||||
" /sys/devices/platform/11920000.pcie/link_stats/*; do "
|
||||
" echo \"$f: `cat $f`\"; done"});
|
||||
}
|
||||
|
||||
void Dumpstate::dumpModemSection(int fd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue