aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/perf/Makefile
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 /drivers/perf/Makefile
parentarm64: remove wrong CONFIG_PROC_SYSCTL ifdef (diff)
downloadlinux-dev-21bdbb7102edeaebb5ec4ef530c8f442f7562c96.tar.xz
linux-dev-21bdbb7102edeaebb5ec4ef530c8f442f7562c96.zip
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 'drivers/perf/Makefile')
-rw-r--r--drivers/perf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/perf/Makefile b/drivers/perf/Makefile
index b116e982810b..ef24833c94a8 100644
--- a/drivers/perf/Makefile
+++ b/drivers/perf/Makefile
@@ -1,2 +1,3 @@
obj-$(CONFIG_ARM_PMU) += arm_pmu.o
+obj-$(CONFIG_QCOM_L2_PMU) += qcom_l2_pmu.o
obj-$(CONFIG_XGENE_PMU) += xgene_pmu.o