linux_dsm_epyc7002/tools/power
Mika Westerberg 01a67adfc5 tools/power turbostat: Allocate correct amount of fd and irq entries
The tool uses topo.max_cpu_num to determine number of entries needed for
fd_percpu[] and irqs_per_cpu[]. For example on a system with 4 CPUs
topo.max_cpu_num is 3 so we get too small array for holding per-CPU items.

Fix this to use right number of entries, which is topo.max_cpu_num + 1.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2016-12-01 01:33:16 -05:00
..
acpi tools/power/acpi: Remove direct kernel source include reference 2016-11-16 22:31:26 +01:00
cpupower cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set 2016-11-01 06:16:52 +01:00
x86 tools/power turbostat: Allocate correct amount of fd and irq entries 2016-12-01 01:33:16 -05:00