diff options
author | Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com> | 2024-03-14 11:36:55 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2024-04-02 12:50:15 -0400 |
commit | 4a1bb4dad5d16669e841410944e7bc84ef7263fc (patch) | |
tree | df1720886a408f6765dc726fa727407e8e691b00 /security | |
parent | aed48c48fa65abdd584e14f7d0273711bc10d223 (diff) | |
download | linux-stable-4a1bb4dad5d16669e841410944e7bc84ef7263fc.tar.gz linux-stable-4a1bb4dad5d16669e841410944e7bc84ef7263fc.tar.bz2 linux-stable-4a1bb4dad5d16669e841410944e7bc84ef7263fc.zip |
tools/power turbostat: Clear added counters when in no-msr mode
If user request --no-msr or is not able to access the MSRs,
turbostat should clear all the counters added with --add.
Because MSR access permission checks are done after the cmdline is
parsed, the decision has to be defered up until the transition into
no-msr mode happen.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions