]> 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)
commitd1bb9bcb520c5c0e3437ea1a145ed62b7a5886cc
tree17ff7a6c8915a232d68cc3abfa9ae217ee2b4063
parent58123d0fbaa8bf67980b67422b0d10a4e336f722
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