summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>2024-01-31 01:57:07 +0300
committerLen Brown <len.brown@intel.com>2024-04-02 19:50:14 +0300
commitaed48c48fa65abdd584e14f7d0273711bc10d223 (patch)
tree900adbda3504da7614cf00a96bc8272b765772ac /lib/mpi/mpi-sub-ui.c
parent5088741ec805cd249e27c7176ed09bdab164960e (diff)
downloadlinux-aed48c48fa65abdd584e14f7d0273711bc10d223.tar.xz
tools/power turbostat: add early exits for permission checks
Checking early if the permissions are even needed gets rid of the warnings about some of them missing. Earlier we issued a warning in case of missing MSR and/or perf permissions, even when user never asked for counters that require those. Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions