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)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 4 Jul 2013 22:54:13 +0000 (01:54 +0300)
commit7ed9fcf61df899f2bba7644e4603c7c65bc645d6
tree6dc1a3772a74aba2b109dd652481b53c88f3990d
parent1964999a51fa2932f808a9963e31d61cf3688cb6
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