summaryrefslogtreecommitdiff
path: root/include/linux/perf
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2016-09-14 17:32:31 -0500
committerWill Deacon <will.deacon@arm.com>2016-09-16 17:11:34 +0100
commit85023b2e1325826edf5d226a9cb4d809ed1e2024 (patch)
tree7a15ce6eac43d9e9570e364f7d6739ad9a7026ba /include/linux/perf
parent236b9b91cd1255a9cae9d7ef6b755efe37013c1f (diff)
arm64: pmu: Hoist pmu platform device name
Move the PMU name into a common header file so it may be referenced by other users. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux/perf')
-rw-r--r--include/linux/perf/arm_pmu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf/arm_pmu.h b/include/linux/perf/arm_pmu.h
index dc1f2f30c961..9ff07d3fc8de 100644
--- a/include/linux/perf/arm_pmu.h
+++ b/include/linux/perf/arm_pmu.h
@@ -160,6 +160,8 @@ int arm_pmu_device_probe(struct platform_device *pdev,
const struct of_device_id *of_table,
const struct pmu_probe_info *probe_table);
+#define ARMV8_PMU_PDEV_NAME "armv8-pmu"
+
#endif /* CONFIG_ARM_PMU */
#endif /* __ARM_PMU_H__ */