本文主要是介绍【SA8295P 源码分析 (一)】76 - Thermal 功耗 之 /dev/thermalmgr 相关调试命令汇总,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
【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 源码分析 (一)】系统部分
这篇关于【SA8295P 源码分析 (一)】76 - Thermal 功耗 之 /dev/thermalmgr 相关调试命令汇总的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!