commit | 629948310e4270e9b32c37b4a65a8cd5d6ebf38a | [log] [tgz] |
---|---|---|
author | Will Deacon <will.deacon@arm.com> | Sat Nov 13 18:45:27 2010 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Thu Nov 25 16:52:08 2010 +0000 |
tree | f1b8d4d2239e43f52e3d48cddd86990ec1771504 | |
parent | 3cb314bae2191b432a7e898abf865db880f6d07d [diff] |
ARM: perf: encode PMU name in arm_pmu structure 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>