diff options
author | 2024-03-14 11:36:55 +0100 | |
---|---|---|
committer | 2024-04-02 12:50:15 -0400 | |
commit | 4a1bb4dad5d16669e841410944e7bc84ef7263fc (patch) | |
tree | df1720886a408f6765dc726fa727407e8e691b00 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools/power turbostat: add early exits for permission checks (diff) | |
download | wireguard-linux-4a1bb4dad5d16669e841410944e7bc84ef7263fc.tar.xz wireguard-linux-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions