xref: /linux/drivers/perf/Kconfig (revision d5d9696b03808bc6be723cc85288c912c3a05606)
1#
2# Performance Monitor Drivers
3#
4
5menu "Performance monitor support"
6	depends on PERF_EVENTS
7
8config ARM_PMU
9	depends on ARM || ARM64
10	bool "ARM PMU framework"
11	default y
12	help
13	  Say y if you want to use CPU performance monitors on ARM-based
14	  systems.
15
16config ARM_PMU_ACPI
17	depends on ARM_PMU && ACPI
18	def_bool y
19
20config QCOM_L2_PMU
21	bool "Qualcomm Technologies L2-cache PMU"
22	depends on ARCH_QCOM && ARM64 && ACPI
23	  help
24	  Provides support for the L2 cache performance monitor unit (PMU)
25	  in Qualcomm Technologies processors.
26	  Adds the L2 cache PMU into the perf events subsystem for
27	  monitoring L2 cache events.
28
29config QCOM_L3_PMU
30	bool "Qualcomm Technologies L3-cache PMU"
31	depends on ARCH_QCOM && ARM64 && ACPI
32	select QCOM_IRQ_COMBINER
33	help
34	   Provides support for the L3 cache performance monitor unit (PMU)
35	   in Qualcomm Technologies processors.
36	   Adds the L3 cache PMU into the perf events subsystem for
37	   monitoring L3 cache events.
38
39config XGENE_PMU
40        depends on ARCH_XGENE
41        bool "APM X-Gene SoC PMU"
42        default n
43        help
44          Say y if you want to use APM X-Gene SoC performance monitors.
45
46config ARM_SPE_PMU
47	tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
48	depends on PERF_EVENTS && ARM64
49	help
50	  Enable perf support for the ARMv8.2 Statistical Profiling
51	  Extension, which provides periodic sampling of operations in
52	  the CPU pipeline and reports this via the perf AUX interface.
53
54endmenu
55