tools/power turbostat: cpu0 is no longer hard-coded, so update output
authorLen Brown <len.brown@intel.com>
Wed, 17 Jun 2015 16:27:21 +0000 (12:27 -0400)
committerLen Brown <len.brown@intel.com>
Wed, 17 Jun 2015 16:27:21 +0000 (12:27 -0400)
commitbfae2052265cde825afaba35eb3a4d3889432734
tree9abd87283740d759def86b80900286cc5aed8fda
parent75fd7ffa7fab91c2c3234bd3e465ba4f366733f4
tools/power turbostat: cpu0 is no longer hard-coded, so  update output

The --debug option reads a number of per-package MSRs.
Previously we explicitly read them on cpu0, but recently
turbostat changed to read them on the current "base_cpu".

Update the print-out to reflect base_cpu, rather than
the hard-coded cpu0.

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