mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-27 18:19:03 +00:00
Dumpstate: Improve IPC logging on Pixel 2
Dumpstate on the Pixel 2 currently does not output all of the IPC logs, which are needed to debug some kernel wakelock issues. dumpstate_board.txt will now contain the following new sections: * ipc-servers - contains the contents of /d/msm_ipc_router/dump_servers * ipc-logs - contains the contents of /d/ipc_logging/*_IPCRTR/log Bug: 121033207 Test: Ran "adb bugreport" and visually inspected dumpstate_board.txt Change-Id: Ic5c20e593634c5de7fe7887dbcc6c21e902ea12e
This commit is contained in:
@@ -279,6 +279,11 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
|
||||
DumpFileToFd(fd, "PD Engine", "/d/pd_engine/usbpd0");
|
||||
DumpFileToFd(fd, "smblib-usb logs", "/d/ipc_logging/smblib/log");
|
||||
DumpFileToFd(fd, "ipc-local-ports", "/d/msm_ipc_router/dump_local_ports");
|
||||
DumpFileToFd(fd, "ipc-servers", "/d/msm_ipc_router/dump_servers");
|
||||
RunCommandToFd(fd, "ipc-logs",
|
||||
{"/vendor/bin/sh", "-c",
|
||||
"for f in `ls /d/ipc_logging/*_IPCRTR/log` ; do echo \"------ $f\\n`cat "
|
||||
"$f`\\n\" ; done"});
|
||||
DumpTouch(fd);
|
||||
RunCommandToFd(fd, "USB Device Descriptors", {"/vendor/bin/sh", "-c", "cd /sys/bus/usb/devices/1-1 && cat product && cat bcdDevice; cat descriptors | od -t x1 -w16 -N96"});
|
||||
DumpFileToFd(fd, "Pixel trace", "/d/tracing/instances/pixel-trace/trace");
|
||||
|
||||
Reference in New Issue
Block a user