OpenCloudOS-Kernel/drivers/perf
Mark Rutland b916b785af drivers/perf: kill armpmu_register
Nothing outside of drivers/perf/arm_pmu.c should call armpmu_register
any more, so it no longer needs to be in include/linux/perf/arm_pmu.h.
Additionally, by folding it in to arm_pmu_device_probe we can allow
drivers to override struct pmu fields without getting blatted by the
armpmu code.

This patch folds armpmu_register into arm_pmu_device_probe. The logging
to the console is moved to after the PMU is successfully registered with
the core perf code.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Suggested-by: Will Deacon <will.deacon@arm.com>
Cc: Drew Richardson <drew.richardson@arm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-11-16 15:41:49 +00:00
..
Kconfig arm64: perf: move to shared arm_pmu framework 2015-10-07 14:24:48 +01:00
Makefile arm: perf: factor arm_pmu core out to drivers 2015-07-31 15:01:14 +01:00
arm_pmu.c drivers/perf: kill armpmu_register 2015-11-16 15:41:49 +00:00