]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite93f4b0a8502a3646c37f7d1f09ad4959ada4e8a
tree7fb850540cfe7cae91e8063b97a7c2896f3783ef
parent61540ae4e6374ba2bac1f9c72ad02736ba394640
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