summaryrefslogtreecommitdiffstats
path: root/tools/thermal/tmon/tui.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-02-17 18:18:29 -0800
committerZhang Rui <rui.zhang@intel.com>2015-02-28 13:52:47 +0800
commit4cc32cb4e92622757685c8732bdfc400243a5644 (patch)
tree02436ab9be7eae995af8c1aa67f04827572933cc /tools/thermal/tmon/tui.c
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadop-kernel-dev-4cc32cb4e92622757685c8732bdfc400243a5644.zip
op-kernel-dev-4cc32cb4e92622757685c8732bdfc400243a5644.tar.gz
tools/thermal: tmon: add --target-temp parameter
If we launch in daemon mode (--daemon), we don't have the ncurses UI, but we might want to set the target temperature still. For example, someone might stick the following in their boot script: tmon --control intel_powerclamp --target-temp 90 --log --daemon This would turn on CPU idle injection when we're around 90 degrees celsius, and would log temperature and throttling info to /var/tmp/tmon.log. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/thermal/tmon/tui.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud