Commit 9db095f
committed
tools/power turbostat: Ignore pkg_cstate_limit when it is not available
JIRA: https://issues.redhat.com/browse/RHEL-33321
commit 29fea61
Author: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Date: Thu May 9 12:39:47 2024 +0200
tools/power turbostat: Ignore pkg_cstate_limit when it is not available
When running in no-msr mode, the pkg_cstate_limit is not populated, thus
we use perf to determine if given pcstate counter is present on the
platform.
Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: David Arcari <darcari@redhat.com>1 parent daebdcb commit 9db095f
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7121 | 7121 | | |
7122 | 7122 | | |
7123 | 7123 | | |
7124 | | - | |
7125 | | - | |
7126 | | - | |
| 7124 | + | |
7127 | 7125 | | |
7128 | 7126 | | |
7129 | 7127 | | |
| |||
7132 | 7130 | | |
7133 | 7131 | | |
7134 | 7132 | | |
7135 | | - | |
| 7133 | + | |
| 7134 | + | |
7136 | 7135 | | |
7137 | 7136 | | |
7138 | 7137 | | |
| |||
0 commit comments