aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2011-05-04 09:23:51 +0100
committerWill Deacon <[email protected]>2011-08-31 10:50:05 +0100
commit92f701e1f429e007f9619469d548022061c41ecc (patch)
treece70ecb1b103c52f7ddee02a935f940a59c7d76e /tools/perf/util/scripting-engines/trace-event-python.c
parenta9356a04fab912289b886824cb4b1d461987a910 (diff)
ARM: perf: indirect access to cpu_hw_events
Currently, cpu_hw_events is a global per-CPU variable. To enable support for multiple PMUs, there needs to be a mapping from an instance of arm_pmu to its cpu_hw_events. Additionally, as system PMUs are not CPU-affine, they should not have this stored per-CPU. This patch moves access to the hardware events data behind an accessor function (arm_pmu::get_hw_events). This allows each instance to have its own hardware event data, which can be stored per-CPU or globally as required. Signed-off-by: Mark Rutland <[email protected]> Reviewed-by: Will Deacon <[email protected]> Reviewed-by: Jamie Iles <[email protected]> Reviewed-by: Ashwin Chaugule <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions