[PATCH 4/5] ARM: perf: encode PMU name in arm_pmu structure

Jamie Iles jamie at jamieiles.com
Mon Nov 15 14:03:35 EST 2010


On Mon, Nov 15, 2010 at 05:31:02PM +0000, Will Deacon wrote:
> Currently, perf uses the PMU ID as an index into a string table
> to look up the name of a given PMU.
> 
> This patch encodes the name of a PMU directly into the arm_pmu
> structure so that PMU-specific code can be factored out into
> separate files.
> 
> Cc: Jamie Iles <jamie.iles at picochip.com>
> Cc: Jean Pihet <jean.pihet at newoldbits.com>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> ---
Looks good.

Acked-by: Jamie Iles <jamie at jamieiles.com>



More information about the linux-arm-kernel mailing list