OSDN Git Service

tools/power turbostat: Restore ability to execute in topology-order
authorLen Brown <len.brown@intel.com>
Sat, 16 Feb 2019 05:58:23 +0000 (21:58 -0800)
committerLen Brown <len.brown@intel.com>
Thu, 21 Mar 2019 02:55:37 +0000 (22:55 -0400)
commitdf2f677dee3ce4afda7ee561dd4f321c40320afd
tree3291447eefb6095fb13c314a01c9311219e6d658
parent1c163f4c7b3f621efff9b28a47abb36f7378d783
tools/power turbostat: Restore ability to execute in topology-order

turbostat executes on CPUs in "topology order".
This is an optimization for measuring profoundly idle systems --
as the closest hardware is woken next...

Fix a typo that was added with the sub-die-node support,
that broke topology ordering on multi-node systems.

Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c