-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwbench/turbostat: Implement version checking
hwbench requires at least turbostat 2022.04.16 (from Kernel 5.19) unless filtering C1% field would not be possible. This commit is: - update the requirement in the documentation - implements a simple test when Turbostat() is instantiated to guarantee the minimal release is present. - If no suitable release is found, hwbench will stop with a fatal message. A typical example looks like the following : Monitoring/turbostat: Detected release 19.8.31 ERROR:root:Monitoring/turbostat: minimal expected release is 2022.4.16 Signed-off-by: Erwan Velu <e.velu@criteo.com>
- Loading branch information
1 parent
54bc882
commit 0ad09dd
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters