From 2525d16a7b522a40ca016df9d0bfa9d5c141f02c Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Fri, 3 May 2024 09:48:16 -0400 Subject: [PATCH] Fix logic in MSR availability test --- pyperf/_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyperf/_system.py b/pyperf/_system.py index e634a974..b5833707 100644 --- a/pyperf/_system.py +++ b/pyperf/_system.py @@ -129,7 +129,7 @@ def available(): return ( OS_LINUX and not use_intel_pstate() and - platform.machine() not in ('x86', 'x86_64', 'amd64') + platform.machine() in ('x86', 'x86_64', 'amd64') ) def __init__(self, system):