summaryrefslogtreecommitdiffstats
path: root/include/linux/cpuhotplug.h
diff options
context:
space:
mode:
authorNeil Leeder <nleeder@codeaurora.org>2017-02-07 13:14:04 -0500
committerWill Deacon <will.deacon@arm.com>2017-02-08 19:32:24 +0000
commit21bdbb7102edeaebb5ec4ef530c8f442f7562c96 (patch)
tree5f531423c18fe74f1d38144707f51bd21f35a2aa /include/linux/cpuhotplug.h
parentfe0a7ef74d1f65b86820a54636323df2b31e0c3f (diff)
downloadlinux-0-day-21bdbb7102edeaebb5ec4ef530c8f442f7562c96.tar.gz
linux-0-day-21bdbb7102edeaebb5ec4ef530c8f442f7562c96.tar.xz
perf: add qcom l2 cache perf events driver
Adds perf events support for L2 cache PMU. The L2 cache PMU driver is named 'l2cache_0' and can be used with perf events to profile L2 events such as cache hits and misses on Qualcomm Technologies processors. Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Neil Leeder <nleeder@codeaurora.org> [will: minimise nesting in l2_cache_associate_cpu_with_cluster] [will: use kstrtoul for unsigned long, remove redunant .owner setting] Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux/cpuhotplug.h')
-rw-r--r--include/linux/cpuhotplug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h
index 20bfefbe75941..1b7b2075b9cd4 100644
--- a/include/linux/cpuhotplug.h
+++ b/include/linux/cpuhotplug.h
@@ -138,6 +138,7 @@ enum cpuhp_state {
CPUHP_AP_PERF_ARM_CCI_ONLINE,
CPUHP_AP_PERF_ARM_CCN_ONLINE,
CPUHP_AP_PERF_ARM_L2X0_ONLINE,
+ CPUHP_AP_PERF_ARM_QCOM_L2_ONLINE,
CPUHP_AP_WORKQUEUE_ONLINE,
CPUHP_AP_RCUTREE_ONLINE,
CPUHP_AP_ONLINE_DYN,