linux/tools/power
Len Brown 3d7772ea56 tools/power turbostat: harden against cpu hotplug
turbostat tends to get confused when CPUs are added and removed
while it is running.

There are races, such as checking the current cpu, and then
reading a sysfs file that depends on that cpu number.

Close the two issues that seem to come up the most.
First, there is an infinite reset loop detector --
change that to allow more resets before giving up.
Secondly, one of those file reads didn't really need
to exit the program on failure...

Signed-off-by: Len Brown <len.brown@intel.com>
2020-10-23 16:54:05 -04:00
..
acpi ACPICA: acpidump: Removed dead code from oslinuxtbl.c 2020-06-05 13:34:23 +02:00
cpupower cpupower: Remove unneeded semicolon 2020-05-08 10:13:26 -06:00
pm-graph Misc cleanups in the SMP hotplug and cross-call code. 2020-06-01 13:38:55 -07:00
x86 tools/power turbostat: harden against cpu hotplug 2020-10-23 16:54:05 -04:00