]> git.baikalelectronics.ru Git - kernel.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)
commitc268e6807237564fe8faeb328b8f7b00d6b47deb
treec00b0659fe23d48e74934816e4a478acbc85cc97
parent8cb658c9f1897e1bb3236ecdedd9d0a9a7c39553
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