summaryrefslogtreecommitdiffstats
path: root/drivers/perf/Kconfig
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/Kconfig
parentfe0a7ef74d1f65b86820a54636323df2b31e0c3f (diff)
downloadlinux-21bdbb7102edeaebb5ec4ef530c8f442f7562c96.tar.gz
linux-21bdbb7102edeaebb5ec4ef530c8f442f7562c96.tar.bz2
linux-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/Kconfig')
-rw-r--r--drivers/perf/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index 4d5c5f9f0dbd..93651907874f 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -12,6 +12,15 @@ config ARM_PMU
Say y if you want to use CPU performance monitors on ARM-based
systems.
+config QCOM_L2_PMU
+ bool "Qualcomm Technologies L2-cache PMU"
+ depends on ARCH_QCOM && ARM64 && PERF_EVENTS && ACPI
+ help
+ Provides support for the L2 cache performance monitor unit (PMU)
+ in Qualcomm Technologies processors.
+ Adds the L2 cache PMU into the perf events subsystem for
+ monitoring L2 cache events.
+
config XGENE_PMU
depends on PERF_EVENTS && ARCH_XGENE
bool "APM X-Gene SoC PMU"