diff options
author | 2025-06-13 19:20:28 -0700 | |
---|---|---|
committer | 2025-08-08 16:05:53 -0400 | |
commit | d34fe509f5f76d9dc36291242d67c6528027ebbd (patch) | |
tree | 8f44c323aa12f3bff2806813ea629e980d1a525c /tools/perf/scripts/python | |
parent | tools/power turbostat: Fix build with musl (diff) | |
download | wireguard-linux-d34fe509f5f76d9dc36291242d67c6528027ebbd.tar.xz wireguard-linux-d34fe509f5f76d9dc36291242d67c6528027ebbd.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions