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

Jean Pihet jean.pihet at newoldbits.com
Tue Nov 16 03:29:52 EST 2010


On Mon, Nov 15, 2010 at 8:03 PM, Jamie Iles <jamie at jamieiles.com> wrote:
> 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>
>

Nice, thanks!

Acked-by: Jean Pihet <j-pihet at ti.com>



More information about the linux-arm-kernel mailing list