Home
last modified time | relevance | path

Searched hist:"164 d7a965b3e31b1ea109d2bf5dd68e1b41e020f" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.8diff 164d7a965b3e31b1ea109d2bf5dd68e1b41e020f Sat Apr 16 21:25:45 CDT 2022 Len Brown <len.brown@intel.com> 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: Artem S. Tashkinov <aros@gmx.com>
Reported-by: Toby Broom <tbroom@outlook.com>
Signed-off-by: Len Brown <len.brown@intel.com>
H A Dturbostat.cdiff 164d7a965b3e31b1ea109d2bf5dd68e1b41e020f Sat Apr 16 21:25:45 CDT 2022 Len Brown <len.brown@intel.com> 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: Artem S. Tashkinov <aros@gmx.com>
Reported-by: Toby Broom <tbroom@outlook.com>
Signed-off-by: Len Brown <len.brown@intel.com>