Home
last modified time | relevance | path

Searched hist:"42 dd45209201edb222de5f9eadc1c8f93700ef28" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.cdiff 42dd45209201edb222de5f9eadc1c8f93700ef28 Fri Jun 08 17:15:12 CDT 2018 Nathan Ciobanu <nathan.d.ciobanu@linux.intel.com> 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>