Re: [PATCH v5 12/15] perf pmu-events: Fix testing with JEVENTS_ARCH=all
From: John Garry <john.g.garry@oracle.com>
Date: 2023-01-27 13:20:46
Also in:
linux-arm-kernel, linux-perf-users, lkml
From: John Garry <john.g.garry@oracle.com>
Date: 2023-01-27 13:20:46
Also in:
linux-arm-kernel, linux-perf-users, lkml
On 26/01/2023 23:36, Ian Rogers wrote:
The #slots literal will return NAN when not on ARM64 which causes a
perf test failure when not on an ARM64 for a JEVENTS_ARCH=all build:
..
10.4: Parsing of PMU event table metrics with fake PMUs : FAILED!
..
Add an is_test boolean so that the failure can be avoided when running
as a test.
Fixes: acef233b7ca7 ("perf pmu: Add #slots literal support for arm64")
---Again, no SoB here. For me, though: Reviewed-by: John Garry <john.g.garry@oracle.com>