dumpstate: Dump logs

Bug: 237082721
Test: log dumped in bugreport
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I8dfcbb397581644b6daf1a4c0aa45d53b5662dcd
This commit is contained in:
Kyle Tso 2022-06-25 00:00:19 +08:00 committed by TreeHugger Robot
parent 7e18fbeaf2
commit e31dc795f1
2 changed files with 2 additions and 0 deletions

View file

@ -364,6 +364,7 @@ void Dumpstate::dumpPowerSection(int fd) {
"echo \"contaminant_detection_status:\"; cat $f/contaminant_detection_status; done"});
DumpFileToFd(fd, "PD Engine", "/dev/logbuffer_usbpd");
DumpFileToFd(fd, "POGO Transport", "/dev/logbuffer_pogo_transport");
DumpFileToFd(fd, "PPS-google_cpm", "/dev/logbuffer_cpm");
DumpFileToFd(fd, "PPS-dc", "/dev/logbuffer_pca9468");