16 Nov, 2015
1 commit
-
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
Suggested-by: Will Deacon
Cc: Drew Richardson
Cc: Pawel Moll
Signed-off-by: Will Deacon
15 Oct, 2015
1 commit
-
of_cpu_device_node_get increments the reference count on the CPU
device_node, so we must take care to of_node_put once we've finished
with it.This patch fixes the perf IRQ probing code to avoid the leak.
Cc: Sudeep Holla
Cc: Mark Rutland
Signed-off-by: Will Deacon
Signed-off-by: Arnd Bergmann
31 Jul, 2015
1 commit
-
To enable sharing of the arm_pmu code with arm64, this patch factors it
out to drivers/perf/. A new drivers/perf directory is added for
performance monitor drivers to live under.MAINTAINERS is updated accordingly. Files added previously without a
corresponsing MAINTAINERS update (perf_regs.c, perf_callchain.c, and
perf_event.h) are also added.Cc: Arnaldo Carvalho de Melo
Cc: Greg Kroah-Hartman
Cc: Ingo Molnar
Cc: Linus Walleij
Cc: Paul Mackerras
Cc: Peter Zijlstra
Cc: Russell King
Cc: Will Deacon
Signed-off-by: Mark Rutland
[will: augmented Kconfig help slightly]
Signed-off-by: Will Deacon