Re: [PATCH] perf tool powerpc: Add Power9 DD2.1 PVR

From: Arnaldo Carvalho de Melo
Date: Wed Nov 22 2017 - 14:24:51 EST


Em Wed, Nov 22, 2017 at 09:38:50PM +0530, Ravi Bangoria escreveu:
> From: Madhavan Srinivasan <maddy@xxxxxxxxxxxxxxxxxx>
>
> This will enable parsing JSON files on Power9 DD2.1.

Ravi,

Can you take a look at this patch posted today by Will Cohen:

Subject: [PATCH] Use more flexible pattern matching for CPU identification for mapfile.csv
Message-Id: <20171122160849.8400-1-wcohen@xxxxxxxxxx>

Oops, he forgot to send it to lkml, I'll reply to his message and add
you and lkml, please check that approach.

- Arnaldo

> Signed-off-by: Madhavan Srinivasan <maddy@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxxxxxxx>
> ---
> tools/perf/pmu-events/arch/powerpc/mapfile.csv | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/perf/pmu-events/arch/powerpc/mapfile.csv b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> index a0f3a11ca19f..83b98ec8dbab 100644
> --- a/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> +++ b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> @@ -23,3 +23,4 @@
> 004e0100,1,power9,core
> 004e0200,1,power9,core
> 004e1200,1,power9,core
> +004e1201,1,power9,core
> --
> 2.13.6