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