linux-stable/tools/power
Len Brown 164d7a965b 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>
2022-04-16 23:07:05 -04:00
..
acpi ACPI: tools: Introduce utility for firmware updates/telemetry 2021-12-27 17:12:58 +01:00
cpupower cpupower: Add cpuid cap flag for MSR_AMD_HWCR support 2021-01-26 09:40:45 -07:00
pm-graph pm-graph: Fix typo "accesible" 2021-03-22 15:27:17 +01:00
x86 tools/power turbostat: be more useful as non-root 2022-04-16 23:07:05 -04:00