From 69484bcb079d8fb4bbb68dd11b933189896e10a6 Mon Sep 17 00:00:00 2001 From: Jason Chiu Date: Mon, 2 Dec 2019 16:58:12 +0800 Subject: [PATCH] redfin:dumpstate: Temporarily disable Temperatures from dumpstate_board.bin Bug: 145258138 Bug: 145345795 Change-Id: I6df95cc21d7fb57bc04279a0e8226160b9e3df53 Signed-off-by: Jason Chiu --- dumpstate/DumpstateDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp index 3a9b04c..916a294 100755 --- a/dumpstate/DumpstateDevice.cpp +++ b/dumpstate/DumpstateDevice.cpp @@ -460,7 +460,7 @@ Return DumpstateDevice::dumpstateBoard(const hidl_handle& handle) { RunCommandToFd(fd, "ION HEAPS", {"/vendor/bin/sh", "-c", "for d in $(ls -d /d/ion/*); do for f in $(ls $d); do echo --- $d/$f; cat $d/$f; done; done"}); DumpFileToFd(fd, "dmabuf info", "/d/dma_buf/bufinfo"); DumpFileToFd(fd, "dmabuf process info", "/d/dma_buf/dmaprocs"); - RunCommandToFd(fd, "Temperatures", {"/vendor/bin/sh", "-c", "for f in /sys/class/thermal/thermal* ; do type=`cat $f/type` ; temp=`cat $f/temp` ; echo \"$type: $temp\" ; done"}); + //RunCommandToFd(fd, "Temperatures", {"/vendor/bin/sh", "-c", "for f in /sys/class/thermal/thermal* ; do type=`cat $f/type` ; temp=`cat $f/temp` ; echo \"$type: $temp\" ; done"}); RunCommandToFd(fd, "Cooling Device Current State", {"/vendor/bin/sh", "-c", "for f in /sys/class/thermal/cooling* ; do type=`cat $f/type` ; temp=`cat $f/cur_state` ; echo \"$type: $temp\" ; done"}); RunCommandToFd( fd, "LMH info",