xref: /linux/drivers/perf/Kconfig (revision fd639726bf15fca8ee1a00dce8e0096d0ad9bd18)
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 HISI_PMU
21       bool "HiSilicon SoC PMU"
22       depends on ARM64 && ACPI
23       help
24         Support for HiSilicon SoC uncore performance monitoring
25         unit (PMU), such as: L3C, HHA and DDRC.
26
27config QCOM_L2_PMU
28	bool "Qualcomm Technologies L2-cache PMU"
29	depends on ARCH_QCOM && ARM64 && ACPI
30	  help
31	  Provides support for the L2 cache performance monitor unit (PMU)
32	  in Qualcomm Technologies processors.
33	  Adds the L2 cache PMU into the perf events subsystem for
34	  monitoring L2 cache events.
35
36config QCOM_L3_PMU
37	bool "Qualcomm Technologies L3-cache PMU"
38	depends on ARCH_QCOM && ARM64 && ACPI
39	select QCOM_IRQ_COMBINER
40	help
41	   Provides support for the L3 cache performance monitor unit (PMU)
42	   in Qualcomm Technologies processors.
43	   Adds the L3 cache PMU into the perf events subsystem for
44	   monitoring L3 cache events.
45
46config XGENE_PMU
47        depends on ARCH_XGENE
48        bool "APM X-Gene SoC PMU"
49        default n
50        help
51          Say y if you want to use APM X-Gene SoC performance monitors.
52
53config ARM_SPE_PMU
54	tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
55	depends on PERF_EVENTS && ARM64
56	help
57	  Enable perf support for the ARMv8.2 Statistical Profiling
58	  Extension, which provides periodic sampling of operations in
59	  the CPU pipeline and reports this via the perf AUX interface.
60
61endmenu
62