ARM: perf: clean and update ARMv7 event numbers
authorWill Deacon <will.deacon@arm.com>
Thu, 29 Sep 2011 14:29:02 +0000 (15:29 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 2 Dec 2011 15:16:16 +0000 (15:16 +0000)
commit4d301512ab368f83f774f414213a5e6cf3641632
tree7fb850540cfe7cae91e8063b97a7c2896f3783ef
parent5611cc4572e889b62a7b4c72a413536bf6a9c416
ARM: perf: clean and update ARMv7 event numbers

This patch updates the ARMv7 perf event numbers so that:

(1) A consistent naming scheme is used between different CPUs.

(2) Only events actually used by Linux are described.

(3) Where possible, architected events are used in preference to
    CPU-specific events.

This results in the removal of a load of unused, hardcoded data and
makes it more clear as to which events are supported on each PMU.

Cc: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_v7.c