]> Git Repo - linux.git/commit
tools/thermal: tmon: add --target-temp parameter
authorBrian Norris <[email protected]>
Wed, 18 Feb 2015 02:18:29 +0000 (18:18 -0800)
committerZhang Rui <[email protected]>
Sat, 28 Feb 2015 05:52:47 +0000 (13:52 +0800)
commit4cc32cb4e92622757685c8732bdfc400243a5644
tree02436ab9be7eae995af8c1aa67f04827572933cc
parentc517d838eb7d07bbe9507871fab3931deccff539
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 <[email protected]>
Acked-by: Jacob Pan <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
tools/thermal/tmon/tmon.8
tools/thermal/tmon/tmon.c
This page took 0.057706 seconds and 4 git commands to generate.