Files
device_google_wahoo/dumpstate/DumpstateDevice.cpp
Wei Wang 557d1b3e07 dumpstate: add thermal limit
Also fix time-in-state and cpuidle for BIG core

After CL:
------ cpu0-3 time-in-state (/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state) ------
------ cpu0-3 cpuidle (/vendor/bin/sh -c for d in $(ls -d /sys/devices/system/cpu/cpu0/cpuidle/state*); do echo "$d: `cat $d/name`
------ cpu4-7 time-in-state (/sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state) ------
------ cpu4-7 cpuidle (/vendor/bin/sh -c for d in $(ls -d /sys/devices/system/cpu/cpu4/cpuidle/sta
------ cpu0-3 thermal limit (/sys/devices/virtual/thermal/cooling_device0/cur_state) ------
------ cpu4-7 thermal limit (/sys/devices/virtual/thermal/cooling_device1/cur_state) ------

Bug: 64406500
Test: Take BR
Change-Id: Id24462c32928f10d18019b33812f6103b4284cf4
2017-08-09 18:08:14 +00:00

9.6 KiB
Executable File