Skip to content
Commit 164d7a96 authored by Len Brown's avatar Len Brown
Browse files

tools/power turbostat: be more useful as non-root



Don't exit if used this way:

sudo setcap cap_sys_nice,cap_sys_rawio=+ep ./turbostat
sudo chmod +r /dev/cpu/*/msr
./turbostat

note: cap_sys_admin is now also needed for the perf IPC counter:
sudo setcap cap_sys_admin,cap_sys_nice,cap_sys_rawio=+ep ./turbostat

Reported-by: default avatarArtem S. Tashkinov <aros@gmx.com>
Reported-by: default avatarToby Broom <tbroom@outlook.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 6397b641
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment