Merge "dumpstate: add HWC fence state, error log, and debug dump files"
This commit is contained in:
commit
7649ca0327
1 changed files with 8 additions and 0 deletions
|
@ -976,6 +976,14 @@ void DumpstateDevice::dumpDisplaySection(int fd) {
|
||||||
DumpFileToFd(fd, "Primary panel extra info", "/sys/devices/platform/exynos-drm/primary-panel/panel_extinfo");
|
DumpFileToFd(fd, "Primary panel extra info", "/sys/devices/platform/exynos-drm/primary-panel/panel_extinfo");
|
||||||
DumpFileToFd(fd, "Secondary panel name", "/sys/devices/platform/exynos-drm/secondary-panel/panel_name");
|
DumpFileToFd(fd, "Secondary panel name", "/sys/devices/platform/exynos-drm/secondary-panel/panel_name");
|
||||||
DumpFileToFd(fd, "Secondary panel extra info", "/sys/devices/platform/exynos-drm/secondary-panel/panel_extinfo");
|
DumpFileToFd(fd, "Secondary panel extra info", "/sys/devices/platform/exynos-drm/secondary-panel/panel_extinfo");
|
||||||
|
if (!PropertiesHelper::IsUserBuild()) {
|
||||||
|
DumpFileToFd(fd, "HWC Fence State", "/data/vendor/log/hwc/hwc_fence_state.txt");
|
||||||
|
DumpFileToFd(fd, "HWC Error Log", "/data/vendor/log/hwc/hwc_error_log.txt");
|
||||||
|
RunCommandToFd(fd, "HWC Debug Dumps", {"/vendor/bin/sh", "-c",
|
||||||
|
"for f in $(ls /data/vendor/log/hwc/*_hwc_debug*.dump); do "
|
||||||
|
"echo $f ; cat $f ; done"},
|
||||||
|
CommandOptions::WithTimeout(2).Build());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Dump items related to AoC
|
// Dump items related to AoC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue