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:Calvin Owens <calvin@wbinvd.org> Signed-off-by:
Len Brown <len.brown@intel.com>
Loading