dumpstate: add HWC logs
Add hwc log files in /data/vendor/log/hwc to dumpstate. Bug: 230361290 Test: Manual - 'adb bugreport' Change-Id: Id23a16f42ecbdf75d83e056c7cba076041e19176
This commit is contained in:
parent
4db75dda18
commit
b495f66b85
1 changed files with 4 additions and 0 deletions
|
@ -961,6 +961,10 @@ void DumpstateDevice::dumpDisplaySection(int fd) {
|
|||
CommandOptions::WithTimeout(2).Build());
|
||||
DumpFileToFd(fd, "Primary panel extra info", "/sys/devices/platform/exynos-drm/primary-panel/panel_extinfo");
|
||||
DumpFileToFd(fd, "secondary panel extra info", "/sys/devices/platform/exynos-drm/secondary-panel/panel_extinfo");
|
||||
RunCommandToFd(fd, "HWC logs", {"/vendor/bin/sh", "-c",
|
||||
"for f in $(ls /data/vendor/log/hwc/*hwc_*); do "
|
||||
"echo $f ; cat $f ; done"},
|
||||
CommandOptions::WithTimeout(2).Build());
|
||||
}
|
||||
|
||||
// Dump items related to AoC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue