OSDN Git Service

tools/power turbostat: update dump of SECONDARY_TURBO_RATIO_LIMIT
authorLen Brown <len.brown@intel.com>
Thu, 13 Oct 2022 10:42:29 +0000 (12:42 +0200)
committerLen Brown <len.brown@intel.com>
Fri, 17 Mar 2023 14:59:17 +0000 (10:59 -0400)
cosmetic only (but useful if you copy/paste)

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

index aba4604..7ae3086 100644 (file)
@@ -2538,7 +2538,7 @@ static void dump_turbo_ratio_limits(int trl_msr_offset, int family, int model)
 
        get_msr(base_cpu, trl_msr_offset, &msr);
        fprintf(outf, "cpu%d: MSR_%sTURBO_RATIO_LIMIT: 0x%08llx\n",
-               base_cpu, trl_msr_offset == MSR_SECONDARY_TURBO_RATIO_LIMIT ? "SECONDARY" : "", msr);
+               base_cpu, trl_msr_offset == MSR_SECONDARY_TURBO_RATIO_LIMIT ? "SECONDARY_" : "", msr);
 
        if (has_turbo_ratio_group_limits(family, model)) {
                get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &core_counts);