projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0451adf
)
tools/power turbostat: Fix order of strings in pkg_cstate_limit_strings
author
Patryk Wlazlyn
<patryk.wlazlyn@linux.intel.com>
Thu, 9 May 2024 10:24:02 +0000
(12:24 +0200)
committer
Len Brown
<len.brown@intel.com>
Thu, 16 May 2024 01:50:16 +0000
(21:50 -0400)
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>
tools/power/x86/turbostat/turbostat.c
patch
|
blob
|
history
diff --git
a/tools/power/x86/turbostat/turbostat.c
b/tools/power/x86/turbostat/turbostat.c
index a3842e927799268b93d2303cc267fb1770aaeb91..b45b2f494416cd281fc21056e6a28565da673dfd 100644
(file)
--- 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"
};