Commit 3d94026
tools/power turbostat: Introduce --force parameter
Turbostat currently exits under the following conditions:
1. When running on non-Intel/AMD/Hygon x86 vendors.
2. When running on Intel models that lack specific platform features.
Introduce a new `--force` parameter that allows turbostat to run on
these unsupported platforms with minimal default feature support. This
provides users with the flexibility to gather basic information even on
unsupported systems.
[lenb: updated warning message text]
Signed-off-by: Zhang Rui <[email protected]>
Signed-off-by: Len Brown <[email protected]>1 parent cc63f89 commit 3d94026
1 file changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| 329 | + | |
329 | 330 | | |
330 | 331 | | |
331 | 332 | | |
| |||
1058 | 1059 | | |
1059 | 1060 | | |
1060 | 1061 | | |
1061 | | - | |
| 1062 | + | |
| 1063 | + | |
1062 | 1064 | | |
1063 | 1065 | | |
1064 | 1066 | | |
| |||
1067 | 1069 | | |
1068 | 1070 | | |
1069 | 1071 | | |
1070 | | - | |
| 1072 | + | |
1071 | 1073 | | |
1072 | 1074 | | |
1073 | 1075 | | |
| |||
1081 | 1083 | | |
1082 | 1084 | | |
1083 | 1085 | | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
1084 | 1091 | | |
1085 | 1092 | | |
1086 | 1093 | | |
| |||
2160 | 2167 | | |
2161 | 2168 | | |
2162 | 2169 | | |
| 2170 | + | |
| 2171 | + | |
2163 | 2172 | | |
2164 | 2173 | | |
2165 | 2174 | | |
| |||
9942 | 9951 | | |
9943 | 9952 | | |
9944 | 9953 | | |
| 9954 | + | |
9945 | 9955 | | |
9946 | 9956 | | |
9947 | 9957 | | |
| |||
10002 | 10012 | | |
10003 | 10013 | | |
10004 | 10014 | | |
| 10015 | + | |
| 10016 | + | |
| 10017 | + | |
10005 | 10018 | | |
10006 | 10019 | | |
10007 | 10020 | | |
| |||
0 commit comments