Re: [PATCH v3 04/11] perf pmu-events: Add separate metric from pmu_event

2023-01-24 Thread John Garry
On 24/01/2023 06:33, Ian Rogers wrote: Create a new pmu_metric for the metric related variables from pmu_event but that is initially just a clone of pmu_event. Add iterators for pmu_metric and use in places that metrics are desired rather than events. Make the event iterator skip metric only even

[PATCH v3 04/11] perf pmu-events: Add separate metric from pmu_event

2023-01-23 Thread Ian Rogers
Create a new pmu_metric for the metric related variables from pmu_event but that is initially just a clone of pmu_event. Add iterators for pmu_metric and use in places that metrics are desired rather than events. Make the event iterator skip metric only events, and the metric iterator skip event on