Turbostat: re-order init tests
authorVincent Brillault <git@lerya.net>
Wed, 11 Feb 2015 22:00:05 +0000 (23:00 +0100)
committerVincent Brillault <git@lerya.net>
Sat, 28 Feb 2015 06:35:42 +0000 (07:35 +0100)
commitbb1b94f90e492d25aebe88949075c629fc7fe03d
tree31b61ec2c2d993a431e2f949ef0765a469363575
parentaa6e321ec2779a8c3c6a655d3ecd25596f001af9
Turbostat: re-order init tests

Calling 'stat' on /dev/cpu/0/msr does not need any specific permission
and needs to be checked before probe_cpu.
src/turbostat.c