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

Athira Rajeev atrajeev at linux.vnet.ibm.com
Fri Dec 9 18:27:34 AEDT 2022



> On 08-Dec-2022, at 9:48 AM, Ravi Bangoria <ravi.bangoria at amd.com> wrote:
> 
> 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 for checking the patch

Athira
> 
> Thanks,
> Ravi



More information about the Linuxppc-dev mailing list