]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: update PERF_LIMIT_REASONS decoding
authorLen Brown <len.brown@intel.com>
Fri, 13 Mar 2015 20:30:57 +0000 (16:30 -0400)
committerLen Brown <len.brown@intel.com>
Mon, 13 Apr 2015 19:52:54 +0000 (15:52 -0400)
commit838aa369d8c8ddb92456e34b4d6ffbecd3bf33fb
tree0fca1f6a3507278776b1a02838205067d2fdb52b
parent2d10cc1de90c346b8c4dd632c53b61c79a84df0e
tools/power turbostat: update PERF_LIMIT_REASONS decoding

cosmetic only.

order the decoding of MSR_PERF_LIMIT_REASONS bits
from MSB to LSB -- which you notice when more than 1 bit is set
and you are, say, comparing the output to the documentation...

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