ARM: perf: remove event limit from pmu_hw_events
authorMark Rutland <mark.rutland@arm.com>
Fri, 24 Jun 2011 10:30:59 +0000 (11:30 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 31 Aug 2011 09:50:11 +0000 (10:50 +0100)
commit3fc2c83087717dc88003428245d97b9d432fff2d
tree5dc3f1633c40df8a0b52f046754013355a9f65c1
parent8a16b34e21199eb5fcf2c5050d3bc414fc5d6563
ARM: perf: remove event limit from pmu_hw_events

Currently the event accounting data in pmu_hw_events is stored in
fixed-sized arrays within the structure.

This patch refactors the accounting data to allow any number of events
to be managed.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Reviewed-by: Ashwin Chaugule <ashwinc@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event.c