]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98a601b7f1f10632071d4148b8002f2c476272cb
tree5dc3f1633c40df8a0b52f046754013355a9f65c1
parent903ee3d42c4aa400ac466e6912353bae81564eaf
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