Re: [PATCH v4] Use more flexible pattern matching for CPU identification for mapfile.csv

From: Arnaldo Carvalho de Melo
Date: Tue Dec 05 2017 - 08:45:57 EST


Em Tue, Dec 05, 2017 at 09:25:56AM +0530, Ravi Bangoria escreveu:
>
> On 12/04/2017 08:27 PM, William Cohen wrote:
> > The powerpc cpuid information includes chip revision information.
> > Changes between chip revisions are usually minor bug fixes and usually
> > do not affect the operation of the performance monitoring hardware.
> > The original mapfile.csv matching requires enumerating every possible
> > cpuid string. When a new minor chip revision is produced a new entry
> > has to be added to the mapfile.csv and the code recompiled to allow
> > perf to have the implementation specific perf events for this new
> > minor revision. For users of various distibutions of Linux having to
> > wait for a new release of the kernel's perf tool to be built with
> > these trivial patches is inconvenient.
> >
>
> Tested-by: Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxxxxxxx>

Thanks, added to the commit.

- Arnaldo