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