xref: /openbmc/linux/drivers/perf/Kconfig (revision 45736a72)
1fa8ad788SMark Rutland#
2fa8ad788SMark Rutland# Performance Monitor Drivers
3fa8ad788SMark Rutland#
4fa8ad788SMark Rutland
5fa8ad788SMark Rutlandmenu "Performance monitor support"
6fa8ad788SMark Rutland
7fa8ad788SMark Rutlandconfig ARM_PMU
86475b2d8SMark Rutland	depends on PERF_EVENTS && (ARM || ARM64)
9fa8ad788SMark Rutland	bool "ARM PMU framework"
10fa8ad788SMark Rutland	default y
11fa8ad788SMark Rutland	help
12fa8ad788SMark Rutland	  Say y if you want to use CPU performance monitors on ARM-based
13fa8ad788SMark Rutland	  systems.
14fa8ad788SMark Rutland
1545736a72SMark Rutlandconfig ARM_PMU_ACPI
1645736a72SMark Rutland	depends on ARM_PMU && ACPI
1745736a72SMark Rutland	def_bool y
1845736a72SMark Rutland
1921bdbb71SNeil Leederconfig QCOM_L2_PMU
2021bdbb71SNeil Leeder	bool "Qualcomm Technologies L2-cache PMU"
2121bdbb71SNeil Leeder	depends on ARCH_QCOM && ARM64 && PERF_EVENTS && ACPI
2221bdbb71SNeil Leeder	  help
2321bdbb71SNeil Leeder	  Provides support for the L2 cache performance monitor unit (PMU)
2421bdbb71SNeil Leeder	  in Qualcomm Technologies processors.
2521bdbb71SNeil Leeder	  Adds the L2 cache PMU into the perf events subsystem for
2621bdbb71SNeil Leeder	  monitoring L2 cache events.
2721bdbb71SNeil Leeder
283071f13dSAgustin Vega-Friasconfig QCOM_L3_PMU
293071f13dSAgustin Vega-Frias	bool "Qualcomm Technologies L3-cache PMU"
303071f13dSAgustin Vega-Frias	depends on ARCH_QCOM && ARM64 && PERF_EVENTS && ACPI
313071f13dSAgustin Vega-Frias	select QCOM_IRQ_COMBINER
323071f13dSAgustin Vega-Frias	help
333071f13dSAgustin Vega-Frias	   Provides support for the L3 cache performance monitor unit (PMU)
343071f13dSAgustin Vega-Frias	   in Qualcomm Technologies processors.
353071f13dSAgustin Vega-Frias	   Adds the L3 cache PMU into the perf events subsystem for
363071f13dSAgustin Vega-Frias	   monitoring L3 cache events.
373071f13dSAgustin Vega-Frias
38832c927dSTai Nguyenconfig XGENE_PMU
39832c927dSTai Nguyen        depends on PERF_EVENTS && ARCH_XGENE
40832c927dSTai Nguyen        bool "APM X-Gene SoC PMU"
41832c927dSTai Nguyen        default n
42832c927dSTai Nguyen        help
43832c927dSTai Nguyen          Say y if you want to use APM X-Gene SoC performance monitors.
44832c927dSTai Nguyen
45fa8ad788SMark Rutlandendmenu
46