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 events, and the metric iterator skip event only events.Signed-off-by: Ian Rogers<irog...@google.com>
Reviewed-by: John Garry <john.g.ga...@oracle.com>