tools/power turbostat: SGX state should print only if --debug
The CPUID.SGX bit was printed, even if --debug was used Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
3fdb74649b
commit
8ae7225591
|
@ -3187,7 +3187,7 @@ void process_cpuid()
|
|||
if (debug)
|
||||
decode_misc_enable_msr();
|
||||
|
||||
if (max_level >= 0x7) {
|
||||
if (max_level >= 0x7 && debug) {
|
||||
int has_sgx;
|
||||
|
||||
ecx = 0;
|
||||
|
|
Loading…
Reference in a new issue