linux/tools/power/x86
Nathan Ciobanu 42dd452092 tools/power turbostat: fix segfault on 'no node' machines
Running turbostat on machines that don't expose nodes
in sysfs (no /sys/bus/node) causes a segfault or a -nan
value diesplayed in the log. This is caused by
physical_node_id being reported as -1 and logical_node_id
being calculated as a negative number resulting in the new
GET_THREAD/GET_CORE returning an incorrect address.

Signed-off-by: Nathan Ciobanu <nathan.d.ciobanu@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2018-06-20 13:55:04 -04:00
..
intel_pstate_tracer tools/power/x86/intel_pstate_tracer: Free the trace buffer memory 2018-01-10 01:12:04 +01:00
turbostat tools/power turbostat: fix segfault on 'no node' machines 2018-06-20 13:55:04 -04:00
x86_energy_perf_policy tools/power turbostat: Don't make man pages executable 2018-06-01 17:15:09 -04:00