[PATCH V3] perf test: Fix parse-events tests to skip parametrized events

Athira Rajeev atrajeev at linux.vnet.ibm.com
Sat Sep 30 16:01:51 AEST 2023

> On 30-Sep-2023, at 11:23 AM, Namhyung Kim <namhyung at kernel.org> wrote:
> On Wed, Sep 27, 2023 at 11:17 AM Athira Rajeev
> <atrajeev at linux.vnet.ibm.com> wrote:
>> Testcase "Parsing of all PMU events from sysfs" parse events for
>> all PMUs, and not just cpu. In case of powerpc, the PowerVM
>> environment supports events from hv_24x7 and hv_gpci PMU which
>> is of example format like below:
>> - hv_24x7/CPM_ADJUNCT_INST,domain=?,core=?/
>> - hv_gpci/event,partition_id=?/
>> The value for "?" needs to be filled in depending on system
>> configuration. It is better to skip these parametrized events
>> in this test as it is done in:
>> 'commit b50d691e50e6 ("perf test: Fix "all PMU test" to skip
>> parametrized events")' which handled a simialr instance with
>> "all PMU test".
>> Fix parse-events test to skip parametrized events since
>> it needs proper setup of the parameters.
>> Signed-off-by: Athira Rajeev <atrajeev at linux.vnet.ibm.com>
>> Tested-by: Ian Rogers <irogers at google.com>
>> Tested-by: Sachin Sant <sachinp at linux.ibm.com>
>> Reviewed-by: Kajol Jain <kjain at linux.ibm.com>
> Applied to perf-tools-next, thanks!

Thanks Namhyung,


More information about the Linuxppc-dev mailing list