]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: end current interval upon newline input
authorLen Brown <len.brown@intel.com>
Wed, 19 Jul 2017 23:28:37 +0000 (19:28 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 1 Jun 2018 16:13:05 +0000 (12:13 -0400)
commitbb299aa8de1f74ee3b9d7a2deecb61868d1e9e86
tree17ff7a6c8915a232d68cc3abfa9ae217ee2b4063
parent8a85339527a466be715c3083cca0736b159c533e
tools/power turbostat: end current interval upon newline input

In turbostat interval mode, a newline typed on standard input
will now conclude the current interval.  Data will immediately
be collected and printed for that interval, and the next interval
will be started.

This is similar to the recently added SIGUSR1 feature.
But that is for use by programs, while this is for interactive use.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.8
tools/power/x86/turbostat/turbostat.c