kernel-hacking-2024-linux-s.../tools/power
Prarit Bhargava 7ce7d5de6d 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>
2015-05-27 18:04:01 -04:00
..
acpi ACPICA: Fix a sscanf format string. 2015-04-14 14:51:53 +02:00
cpupower cpupower: fix breakage from libpci API change 2015-04-15 21:54:26 +02:00
x86 tools/power turbostat: allow running without cpu0 2015-05-27 18:04:01 -04:00