summaryrefslogtreecommitdiffstats
path: root/tools/power/x86/turbostat
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2018-06-06 15:47:36 -0400
committerLen Brown <len.brown@intel.com>2018-06-20 13:55:03 -0400
commitd9d226ffadbf4a8e60f5b8fc866aaa5028c7e479 (patch)
tree31ae7ed1c106038d33a31c82799717532b558861 /tools/power/x86/turbostat
parentbdd5ae3aa51939bb1fd26cd9fe7af07ca8c60397 (diff)
downloadlinux-d9d226ffadbf4a8e60f5b8fc866aaa5028c7e479.tar.gz
linux-d9d226ffadbf4a8e60f5b8fc866aaa5028c7e479.tar.bz2
linux-d9d226ffadbf4a8e60f5b8fc866aaa5028c7e479.zip
tools/power turbostat: decode cpuid.1.HT
eg. the "HT" here: CPUID(1): SSE3 MONITOR - EIST TM2 TSC MSR ACPI-TM HT TM Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat')
-rw-r--r--tools/power/x86/turbostat/turbostat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index f09a272941a1..b0f294bf89c3 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4394,7 +4394,7 @@ void process_cpuid()
if (!quiet) {
fprintf(outf, "%d CPUID levels; family:model:stepping 0x%x:%x:%x (%d:%d:%d)\n",
max_level, family, model, stepping, family, model, stepping);
- fprintf(outf, "CPUID(1): %s %s %s %s %s %s %s %s %s\n",
+ fprintf(outf, "CPUID(1): %s %s %s %s %s %s %s %s %s %s\n",
ecx & (1 << 0) ? "SSE3" : "-",
ecx & (1 << 3) ? "MONITOR" : "-",
ecx & (1 << 6) ? "SMX" : "-",
@@ -4403,6 +4403,7 @@ void process_cpuid()
edx & (1 << 4) ? "TSC" : "-",
edx & (1 << 5) ? "MSR" : "-",
edx & (1 << 22) ? "ACPI-TM" : "-",
+ edx & (1 << 28) ? "HT" : "-",
edx & (1 << 29) ? "TM" : "-");
}