linux-stable/drivers/perf
Mark Rutland 2681f01842 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>
2017-03-31 18:19:45 +01:00
..
arm_pmu.c drivers/perf: arm_pmu: rework per-cpu allocation 2017-03-31 18:19:45 +01:00
Kconfig perf: add qcom l2 cache perf events driver 2017-02-08 19:32:24 +00:00
Makefile perf: add qcom l2 cache perf events driver 2017-02-08 19:32:24 +00:00
qcom_l2_pmu.c perf: add qcom l2 cache perf events driver 2017-02-08 19:32:24 +00:00
xgene_pmu.c perf: xgene: Include module.h 2017-02-03 18:46:47 +00:00