arm: perf: kill get_hw_events()
authorMark Rutland <mark.rutland@arm.com>
Tue, 13 May 2014 18:36:31 +0000 (19:36 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 30 Oct 2014 12:17:00 +0000 (12:17 +0000)
commit116792508607002896b706fbad8310419fcc5742
tree1b14145365bd4375a7ee927401d594917a8e127b
parenta4560846eba60830a444d9e336c8a18f92e099ee
arm: perf: kill get_hw_events()

Now that the arm pmu code is limited to CPU PMUs the get_hw_events()
function is superfluous, as we'll always have a set of per-cpu
pmu_hw_events structures.

This patch removes the get_hw_events() function, replacing it with
a percpu hw_events pointer. Uses of get_hw_events are updated to use
this_cpu_ptr.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/pmu.h
arch/arm/kernel/perf_event.c
arch/arm/kernel/perf_event_cpu.c
arch/arm/kernel/perf_event_v6.c
arch/arm/kernel/perf_event_v7.c
arch/arm/kernel/perf_event_xscale.c
This page took 0.031423 seconds and 5 git commands to generate.