summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>2024-05-09 13:24:02 +0300
committerLen Brown <len.brown@intel.com>2024-05-16 04:50:16 +0300
commit4e7ee02300805d26d9731fd24c4de8e10a43ffea (patch)
tree43b0d300fd2f979d630104060b303bc6bd7f1baf /tools
parent0451adf4d46d5df91f888a3d010a4109aa23a7ae (diff)
downloadlinux-4e7ee02300805d26d9731fd24c4de8e10a43ffea.tar.xz
tools/power turbostat: Fix order of strings in pkg_cstate_limit_strings
Change the order so that it matches the indexes defined in: Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/power/x86/turbostat/turbostat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index a3842e927799..b45b2f494416 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4013,7 +4013,7 @@ done:
}
int pkg_cstate_limit = PCLUKN;
-char *pkg_cstate_limit_strings[] = { "reserved", "unknown", "pc0", "pc1", "pc2",
+char *pkg_cstate_limit_strings[] = { "unknown", "reserved", "pc0", "pc1", "pc2",
"pc3", "pc4", "pc6", "pc6n", "pc6r", "pc7", "pc7s", "pc8", "pc9", "pc10", "unlimited"
};