【SA8295P 源碼分析】76 - Thermal 功耗 之 /dev/thermalmgr 相關調試命令匯總
- 1、配置文件:/mnt/etc/system/config/thermal-engine.conf
- 2、獲取當前SOC所有溫度傳感器的溫度:cat /dev/thermalmgr
- 3、查看所有 Thermal 默認配置和自定義配置:echo query config > /dev/thermalmgr
- 4、提高 Thermal Log Debug 等級:echo debug 4 > /dev/thermalmgr
- 5、查看thermal log:slog2info
- 6、讀取CPU頻率:clock.sh info list
- 7、執剖析工具:tsens-dump
系列文章匯總見:《【SA8295P 源碼分析】00 - 系列文章