]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: Introduce --force parameter
authorZhang Rui <rui.zhang@intel.com>
Tue, 3 Dec 2024 07:51:19 +0000 (15:51 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 3 Dec 2024 21:10:12 +0000 (16:10 -0500)
commit3d94026af328d3d355d15c1d7fe73278f77c6a42
treeda982c1f5e338e3dcf7d18e2d378fbfbe66b1749
parentcc63f89ef9db70f74c563317d36028bb5e6196a1
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 <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c