ARM: perf: encode PMU name in arm_pmu structure
authorWill Deacon <will.deacon@arm.com>
Sat, 13 Nov 2010 18:45:27 +0000 (18:45 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 25 Nov 2010 16:52:08 +0000 (16:52 +0000)
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.

Acked-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>

No differences found