]> asedeno.scripts.mit.edu Git - linux.git/commit
arm: perf: dynamically allocate cpu hardware data
authorMark Rutland <mark.rutland@arm.com>
Tue, 21 Oct 2014 13:11:23 +0000 (14:11 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 30 Oct 2014 12:17:00 +0000 (12:17 +0000)
commitabdf655a30b6464fe86c8369de60ccf92f73f589
treec00b0659fe23d48e74934816e4a478acbc85cc97
parent5ebd92003494a19ac5246ae385c073be16de1144
arm: perf: dynamically allocate cpu hardware data

To support multiple PMUs, each PMU will need its own accounting data.
As we don't know how (in general) many PMUs we'll have to support at
compile-time, we must allocate the data at runtime dynamically

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/kernel/perf_event_cpu.c