[PATCH] perf test: Update event group check for support of uncore event

Ravi Bangoria ravi.bangoria at amd.com
Thu Dec 8 15:18:33 AEDT 2022


On 07-Dec-22 10:28 PM, Athira Rajeev wrote:
> Event group test checks group creation for combinations of
> hw, sw and uncore PMU events. Some of the uncore pmus may
> require additional permission to access the counters.
> For example, in case of hv_24x7, partition need to have
> permissions to access hv_24x7 pmu counters. If not, event_open
> will fail. Hence add a sanity check to see if event_open
> succeeds before proceeding with the test.
> 
> Fixes: b20d9215a35f ("perf test: Add event group test for events in multiple PMUs")
> Signed-off-by: Athira Rajeev <atrajeev at linux.vnet.ibm.com>

Acked-by: Ravi Bangoria <ravi.bangoria at amd.com>

Thanks,
Ravi


More information about the Linuxppc-dev mailing list