summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNeil Leeder <nleeder@codeaurora.org>2015-05-29 13:53:16 -0400
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:48:23 -0700
commit3c718325002611b82a8689e802abba11932a9ba2 (patch)
tree3d8ffc9c93e6736330677cb7ce469dc7504e8afd /include/linux
parentfbde2216f242be105f9d28aeafcb44236d5da557 (diff)
arm64: perf: make functions non-static
Make some functions global so they can be referenced by chip-specific drivers. Change-Id: If20de0b9191c2cd32c48da5c0b8b5bc60ac4a97b Signed-off-by: Neil Leeder <nleeder@codeaurora.org> [satyap: trivial merge conflict resolution and move changes in arch/arm64/include/asm/pmu.h to include/linux/perf/arm_pmu.h to align with kernel 4.4] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/perf/arm_pmu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/perf/arm_pmu.h b/include/linux/perf/arm_pmu.h
index bfa673bb822d..dd3ea60948a8 100644
--- a/include/linux/perf/arm_pmu.h
+++ b/include/linux/perf/arm_pmu.h
@@ -149,6 +149,16 @@ int arm_pmu_device_probe(struct platform_device *pdev,
const struct of_device_id *of_table,
const struct pmu_probe_info *probe_table);
+int armv8pmu_enable_intens(int idx);
+int armv8pmu_disable_intens(int idx);
+int armv8pmu_enable_counter(int idx);
+int armv8pmu_disable_counter(int idx);
+u32 armv8pmu_getreset_flags(void);
+void armv8pmu_pmcr_write(u32 val);
+void armv8pmu_write_evtype(int idx, u32 val);
+
+int kryo_pmu_init(struct arm_pmu *cpu_pmu);
+
#endif /* CONFIG_ARM_PMU */
#endif /* __ARM_PMU_H__ */