cpupower: Introduce idle-set subcommand and C-state enabling/disabling
authorThomas Renninger <trenn@suse.de>
Fri, 28 Jun 2013 13:34:31 +0000 (15:34 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Jul 2013 23:52:19 +0000 (01:52 +0200)
commitc4f3610eba69321b9cf35779cd67e68b5138cc16
tree1e290acedef8572a22812c98709cf0754f5d36a9
parent0924c369bc5492cf181a066fc2d459aa18ffa5ac
cpupower: Introduce idle-set subcommand and C-state enabling/disabling

Example:

cpupower idle-set -d 3

will disable C-state 3 on all processors (set commands are active on
all CPUs by default), same as:

cpupower -c all idle-set -d 3

Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/cpupower/Makefile
tools/power/cpupower/man/cpupower-monitor.1
tools/power/cpupower/utils/builtin.h
tools/power/cpupower/utils/cpuidle-info.c
tools/power/cpupower/utils/cpuidle-set.c [new file with mode: 0644]
tools/power/cpupower/utils/cpupower.c