summaryrefslogtreecommitdiff
path: root/tools/power/cpupower
diff options
context:
space:
mode:
authorPrarit Bhargava <prarit@redhat.com>2015-05-25 12:34:28 (GMT)
committerLen Brown <len.brown@intel.com>2015-05-27 22:04:01 (GMT)
commit7ce7d5de6dd08ee2a713ef13f4499073b4a72b7f (patch)
treed3e3e6dac67aed79f05a334e012ae6213b29ec42 /tools/power/cpupower
parente9be7dd62899194ebdd90d417fc6c07d5d157912 (diff)
downloadlinux-7ce7d5de6dd08ee2a713ef13f4499073b4a72b7f.tar.xz
tools/power turbostat: allow running without cpu0
Linux-3.7 added CONFIG_BOOTPARAM_HOTPLUG_CPU0, allowing systems to offline cpu0. But when cpu0 is offline, turbostat will not run: # turbostat ls turbostat: no /dev/cpu/0/msr This patch replaces the hard-coded use of cpu0 in turbostat with the current cpu, allowing it to run without a cpu0. Fewer cross-calls may also be needed due to use of current cpu, though this hard-coding was used only for the --debug preamble. Signed-off-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/cpupower')
0 files changed, 0 insertions, 0 deletions