diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-03-10 13:46:13 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-03-31 20:19:45 +0300 |
commit | 2681f0184276d7fc934b6866a5a267f5b3369f7d (patch) | |
tree | 469b9046143dbf4fd3e13e8e9dbeae9d64f81736 /include/linux/perf | |
parent | 5d3fa803b11bbd300526da864ec8c0fa1e5470b5 (diff) | |
download | linux-2681f0184276d7fc934b6866a5a267f5b3369f7d.tar.xz |
drivers/perf: arm_pmu: rework per-cpu allocation
For historical reasons, we allocate per-cpu data associated with a PMU
rather late, in cpu_pmu_init, after we've parsed whatever hardware
information we were provided with.
In order to allow use to store some per-cpu data early in the probe
path, we need to allocate (and initialise) the per-cpu data earlier.
This patch reworks the way we allocate the pmu and associated per-cpu
data in order to make that possible.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
[will: make armpmu_{alloc,free} static
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux/perf')
0 files changed, 0 insertions, 0 deletions