diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-02-18 05:18:29 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2015-02-28 08:52:47 +0300 |
commit | 4cc32cb4e92622757685c8732bdfc400243a5644 (patch) | |
tree | 02436ab9be7eae995af8c1aa67f04827572933cc /tools/thermal/tmon/tui.c | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | linux-4cc32cb4e92622757685c8732bdfc400243a5644.tar.xz |
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