summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-11-26 14:46:13 +0530
committerShuah Khan <skhan@linuxfoundation.org>2025-12-15 12:33:28 -0700
commit24858a84163c8d04827166b3bcaed80612bb62fc (patch)
tree419517465e7e03d478d84c9e7edf03c0e25dac9c /tools/perf/scripts/python/libxed.py
parent6b401a5b2d2acf56ec902f96f6381982457ab339 (diff)
downloadlinux-24858a84163c8d04827166b3bcaed80612bb62fc.tar.gz
linux-24858a84163c8d04827166b3bcaed80612bb62fc.zip
tools/cpupower: Fix inverted APERF capability check
The capability check was inverted, causing the function to return error when APERF support is available and proceed when it is not. Negate the condition to return error only when APERF capability is absent. Link: https://lore.kernel.org/r/20251126091613.567480-1-kaushlendra.kumar@intel.com Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions