aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/pmu.h
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2015-01-21 15:03:22 +0000
committerDaniel Thompson <daniel.thompson@linaro.org>2015-01-21 15:03:22 +0000
commit834bb59c20dc9b2c96463559a657c51ad7f90126 (patch)
tree68ffe671b80154a0fe8e00db8d8ce460a931eb34 /arch/arm/include/asm/pmu.h
parent6cb22bb10beffe606d360878dfea0c2dab6e01c8 (diff)
arm: perf: Use FIQ to handle PMU events.dev/perf_nmi_fiq
Using FIQ (if it is available) gives perf a better insight into the system by allowing code run with interrupts disabled to be profiled. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'arch/arm/include/asm/pmu.h')
-rw-r--r--arch/arm/include/asm/pmu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/pmu.h b/arch/arm/include/asm/pmu.h
index b1596bd59129..e6c87e393547 100644
--- a/arch/arm/include/asm/pmu.h
+++ b/arch/arm/include/asm/pmu.h
@@ -123,6 +123,8 @@ struct arm_pmu {
extern const struct dev_pm_ops armpmu_dev_pm_ops;
+irqreturn_t armpmu_dispatch_irq(int irq, void *dev);
+
int armpmu_register(struct arm_pmu *armpmu, int type);
u64 armpmu_event_update(struct perf_event *event);