commit | 513c99ce4e64245be1f83f56039ec4891b451955 | [log] [tgz] |
---|---|---|
author | Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com> | Tue Jul 31 10:11:23 2012 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Fri Nov 09 11:37:25 2012 +0000 |
tree | 5f322c568433b855fede78276e9dd7ce06188025 | |
parent | e50c54189f7c6211a99539156e3978474f0b1a0b [diff] |
ARM: perf: allocate CPU PMU dynamically at probe time Supporting multiple, heterogeneous CPU PMUs requires us to allocate the arm_pmu structures dynamically as the devices are probed. This patch removes the static structure definitions for each CPU PMU type and instead passes pointers to the PMU-specific init functions. Signed-off-by: Sudeep KarkadaNagesha <Sudeep.KarkadaNagesha@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>