Re: [PATCH v3 0/2] perf pmus: Sort/merge/aggregate PMUs like mrvl_ddr_pmu

From: Arnaldo Carvalho de Melo
Date: Sat May 11 2024 - 11:38:27 EST


On Fri, May 10, 2024 at 11:13:36AM -0700, Ian Rogers wrote:
> On Sat, May 4, 2024 at 8:16 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
> >
> > The mrvl_ddr_pmu is uncore and has a hexadecimal address
> > suffix. Current PMU sorting/merging code assumes uncore PMU names
> > start with uncore_ and have a decimal suffix. Add support for
> > hexadecimal suffixes and add tests.
> >
> > v3. Rebase and move tests from pmus.c to the existing pmu.c.
> >
> > Ian Rogers (2):
> > perf pmus: Sort/merge/aggregate PMUs like mrvl_ddr_pmu
> > perf tests: Add some pmu core functionality tests
>
> Hi, these patches have been hanging around since March [1], it would
> be nice to either be landing them or getting feedback on what to fix.

Thanks, applied to perf-tools-next,

- Arnaldo

> Thanks,
> Ian
>
> [1] https://lore.kernel.org/lkml/20240329064803.3058900-1-irogers@xxxxxxxxxx/
>
> > tools/perf/tests/pmu.c | 95 ++++++++++++++++++++++++++++++++++++++++++
> > tools/perf/util/pmu.c | 4 +-
> > tools/perf/util/pmus.c | 53 ++++++++++++-----------
> > tools/perf/util/pmus.h | 7 +++-
> > 4 files changed, 131 insertions(+), 28 deletions(-)
> >
> > --
> > 2.45.0.rc1.225.g2a3ae87e7f-goog
> >