]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 20:10:55 +0000 (15:10 -0500)
commit2ff463e709d0cfc3ccb5a02390dfbabad98585a3
tree0f3bdc2da90c848abf41f70d7b3cdf41cad99c34
parentfdf53550f8cbe3cc850fd1f3fca9381e4e1ccb0d
tools/power turbostat: cpu0 is no longer hard-coded, so update output

Orabug: 24811361

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>
(cherry picked from commit bfae2052265cde825afaba35eb3a4d3889432734)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
tools/power/x86/turbostat/turbostat.c