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)
commit46704fcdcbe1832c58e645595123de81b14ada1d
tree5dc3f1633c40df8a0b52f046754013355a9f65c1
parentbb3ab0dcc47cd8dce4745bdfa3755fbdb1a5ccfd
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