tmp_suning_uos_patched/tools/power
Prarit Bhargava 8201a02857 tools/power turbostat: Use sched_getcpu() instead of hardcoded cpu 0
Disabling cpu 0 results in an error

turbostat: /sys/devices/system/cpu/cpu0/topology/thread_siblings: open failed: No such file or directory

Use sched_getcpu() instead of a hardcoded cpu 0 to get the max cpu number.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2020-09-03 13:57:47 -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: Use sched_getcpu() instead of hardcoded cpu 0 2020-09-03 13:57:47 -04:00