diff options
| author | Nathan Ciobanu <[email protected]> | 2018-06-08 22:15:12 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2018-06-20 17:55:04 +0000 |
| commit | 42dd45209201edb222de5f9eadc1c8f93700ef28 (patch) | |
| tree | 6932027a3b20fd4ff1bfabe3656397b0abe7d0dc /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | tools/power turbostat: add optional APIC X2APIC columns (diff) | |
| download | kernel-42dd45209201edb222de5f9eadc1c8f93700ef28.tar.gz kernel-42dd45209201edb222de5f9eadc1c8f93700ef28.zip | |
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 <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
