diff options
author | Raylin Hsu <raylinhsu@google.com> | 2020-02-14 16:56:15 +0800 |
---|---|---|
committer | Cyan_Hsieh <cyanhsieh@google.com> | 2020-05-29 21:20:44 +0800 |
commit | b1715c0badcc88fac872f4022829b9f6b071f3b0 (patch) | |
tree | 42fe64bb10a00822449558b42b9bcf6822dfe9df /dumpstate | |
parent | 9bcc8e22d5969297ca1d1ca7c387e9472b496e6a (diff) | |
download | redfin-b1715c0badcc88fac872f4022829b9f6b071f3b0.tar.gz |
dumpstate: Remove to dump MDP xlog in bugreport.
The /data/vendor/display/mdp_xlog is for mdp driver but not for DRM/KMS.
The bugreport should not need dump it.
Bug: 149467103
Test: There is no failed selinux log of display_vendor_data_file.
Change-Id: I79adfd810be9c5df1f42ce5732aca930c2cee4e3
Diffstat (limited to 'dumpstate')
-rwxr-xr-x | dumpstate/DumpstateDevice.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index a269f1c..da23369 100755 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -506,7 +506,6 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) { RunCommandToFd(fd, "CPU time-in-state", {"/vendor/bin/sh", "-c", "for cpu in /sys/devices/system/cpu/cpu*; do f=$cpu/cpufreq/stats/time_in_state; if [ ! -f $f ]; then continue; fi; echo $f:; cat $f; done"}); RunCommandToFd(fd, "CPU cpuidle", {"/vendor/bin/sh", "-c", "for cpu in /sys/devices/system/cpu/cpu*; do for d in $cpu/cpuidle/state*; do if [ ! -d $d ]; then continue; fi; echo \"$d: `cat $d/name` `cat $d/desc` `cat $d/time` `cat $d/usage`\"; done; done"}); RunCommandToFd(fd, "Airbrush debug info", {"/vendor/bin/sh", "-c", "for f in `ls /sys/devices/platform/soc/c84000.i2c/i2c-4/4-0066/@(*curr|temperature|vbat|total_power)`; do echo \"$f: `cat $f`\" ; done; file=/d/airbrush/airbrush_sm/chip_state; echo \"$file: `cat $file`\""}); - DumpFileToFd(fd, "MDP xlogs", "/data/vendor/display/mdp_xlog"); DumpFileToFd(fd, "TCPM logs", "/d/usb/tcpm-usbpd0"); DumpFileToFd(fd, "PD Engine", "/d/logbuffer/usbpd"); DumpFileToFd(fd, "PPS", "/d/logbuffer/pps"); |