From: Will Deacon Date: Sat, 13 Nov 2010 18:45:27 +0000 (+0000) Subject: ARM: perf: encode PMU name in arm_pmu structure X-Git-Tag: v2.6.38-rc1~471^2^2~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=629948310e4270e9b32c37b4a65a8cd5d6ebf38a;p=pandora-kernel.git 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 Acked-by: Jean Pihet Signed-off-by: Will Deacon --- Reading git-diff-tree failed