linux-yocto/tools/power
Calvin Owens da649d9da6 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:30:49 +02:00
..
acpi ACPI: tools: pfrut: Print the update_cap field during capability query 2024-04-26 19:27:34 +02:00
cpupower pm: cpupower: Fix the snapshot-order of tsc,mperf, clock in mperf_stop() 2025-08-20 18:30:27 +02:00
pm-graph pm-graph: Update directory handling and installation process in Makefile 2024-09-04 14:34:54 +02:00
x86 tools/power turbostat: Handle cap_get_proc() ENOSYS 2025-08-20 18:30:49 +02:00