linux/tools/power/x86
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
..
intel_pstate_tracer tools/power/x86/intel_pstate_tracer: fix a broken y-axis scale 2020-03-26 20:05:58 +01:00
intel-speed-select tools/power/x86/intel-speed-select: Fix invalid core mask 2020-05-22 11:18:15 -07:00
turbostat tools/power turbostat: Use sched_getcpu() instead of hardcoded cpu 0 2020-09-03 13:57:47 -04:00
x86_energy_perf_policy tools/power x86_energy_perf_policy: Fix argument parsing 2019-08-31 14:48:34 -04:00