linux-yocto/tools/power
Calvin Owens 54d959676d tools/power turbostat: Handle cap_get_proc() ENOSYS
[ Upstream commit d34fe509f5 ]

Kernels configured with CONFIG_MULTIUSER=n have no cap_get_proc().
Check for ENOSYS to recognize this case, and continue on to
attempt to access the requested MSRs (such as temperature).

Signed-off-by: Calvin Owens <calvin@wbinvd.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-20 18:41:31 +02:00
..
acpi ACPICA: Update copyright year 2025-05-12 15:38:43 +02:00
cpupower pm: cpupower: Fix the snapshot-order of tsc,mperf, clock in mperf_stop() 2025-08-20 18:41:03 +02:00
pm-graph PM: sleep: Use two lines for "Restarting..." / "done" messages 2025-04-22 13:58:30 +02:00
x86 tools/power turbostat: Handle cap_get_proc() ENOSYS 2025-08-20 18:41:31 +02:00