Merge "dumpstate: change HWC fence & error logs to be per display"
This commit is contained in:
commit
5bb3862c4d
1 changed files with 8 additions and 2 deletions
|
@ -591,8 +591,14 @@ void Dumpstate::dumpDisplaySection(int fd) {
|
||||||
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()) {
|
if (!PropertiesHelper::IsUserBuild()) {
|
||||||
DumpFileToFd(fd, "HWC Fence State", "/data/vendor/log/hwc/hwc_fence_state.txt");
|
RunCommandToFd(fd, "HWC Fence States", {"/vendor/bin/sh", "-c",
|
||||||
DumpFileToFd(fd, "HWC Error Log", "/data/vendor/log/hwc/hwc_error_log.txt");
|
"for f in $(ls /data/vendor/log/hwc/*_hwc_fence_state*.txt); do "
|
||||||
|
"echo $f ; cat $f ; done"},
|
||||||
|
CommandOptions::WithTimeout(2).Build());
|
||||||
|
RunCommandToFd(fd, "HWC Error Logs", {"/vendor/bin/sh", "-c",
|
||||||
|
"for f in $(ls /data/vendor/log/hwc/*_hwc_error_log*.txt); do "
|
||||||
|
"echo $f ; cat $f ; done"},
|
||||||
|
CommandOptions::WithTimeout(2).Build());
|
||||||
RunCommandToFd(fd, "HWC Debug Dumps", {"/vendor/bin/sh", "-c",
|
RunCommandToFd(fd, "HWC Debug Dumps", {"/vendor/bin/sh", "-c",
|
||||||
"for f in $(ls /data/vendor/log/hwc/*_hwc_debug*.dump); do "
|
"for f in $(ls /data/vendor/log/hwc/*_hwc_debug*.dump); do "
|
||||||
"echo $f ; cat $f ; done"},
|
"echo $f ; cat $f ; done"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue