Commit d34fe509 authored by Calvin Owens's avatar Calvin Owens Committed by Len Brown
Browse files

tools/power turbostat: Handle cap_get_proc() ENOSYS



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: default avatarCalvin Owens <calvin@wbinvd.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 6ea0ec1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment