summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/perf_event_v7.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2011-06-06 09:37:50 (GMT)
committerWill Deacon <will.deacon@arm.com>2011-08-31 09:50:08 (GMT)
commit7ae18a5717cbbf1879bdd5b66d7009a9958e5aef (patch)
tree877bd254703c985de0db15df76a2bf3ead1ea06f /arch/arm/kernel/perf_event_v7.c
parent0f78d2d5ccf72ec834da6901886a40fd8e3b7615 (diff)
downloadlinux-fsl-qoriq-7ae18a5717cbbf1879bdd5b66d7009a9958e5aef.tar.xz
ARM: perf: add type field to struct arm_pmu
Currently, the ARM perf code assumes all PMUs it will handle are CPU PMUs, having ARM_PMU_DEVICE_CPU hardcoded when reserving or releasing hardware. This means that currently, the ARM perf code can't support system PMUs. This patch adds a 'type' field to struct arm_pmu, which allows the code to reserve & release the hardware regardless of the PMU type. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Reviewed-by: Will Deacon <will.deacon@arm.com> Reviewed-by: Jamie Iles <jamie@jamieiles.com> Reviewed-by: Ashwin Chaugule <ashwinc@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/perf_event_v7.c')
0 files changed, 0 insertions, 0 deletions