Re: [PATCH v3 04/11] perf pmu-events: Add separate metric from pmu_event
From: John Garry <john.g.garry@oracle.com>
Date: 2023-01-24 16:21:28
Also in:
linux-arm-kernel, linux-perf-users, lkml
From: John Garry <john.g.garry@oracle.com>
Date: 2023-01-24 16:21:28
Also in:
linux-arm-kernel, linux-perf-users, lkml
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<irogers@google.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>