mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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>
This commit is contained in:
parent
aed48c48fa
commit
4a1bb4dad5
1 changed files with 46 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue