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

From: Ravi Bangoria
Date: Mon Dec 04 2017 - 22:55:42 EST



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,
Ravi