Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
#
# Performance Monitor Drivers
#

menu "Performance monitor support"
	depends on CONFIG_PERF_EVENTS

config CONFIG_ARM_CCI_PMU
	tristate "ARM CCI PMU driver"
	depends on (CONFIG_ARM && CONFIG_CPU_V7) || CONFIG_ARM64
	select CONFIG_ARM_CCI
	help
	  Support for PMU events monitoring on the CONFIG_ARM CCI (Cache Coherent
	  Interconnect) family of products.

	  If compiled as a module, it will be called arm-cci.

config CONFIG_ARM_CCI400_PMU
	bool "support CCI-400"
	default y
	depends on CONFIG_ARM_CCI_PMU
	select CONFIG_ARM_CCI400_COMMON
	help
	  CCI-400 provides 4 independent event counters counting events related
	  to the connected slave/master interfaces, plus a cycle counter.

config CONFIG_ARM_CCI5xx_PMU
	bool "support CCI-500/CCI-550"
	default y
	depends on CONFIG_ARM_CCI_PMU
	help
	  CCI-500/CCI-550 both provide 8 independent event counters, which can
	  count events pertaining to the slave/master interfaces as well as the
	  internal events to the CCI.

config CONFIG_ARM_CCN
	tristate "ARM CCN driver support"
	depends on CONFIG_ARM || CONFIG_ARM64
	help
	  PMU (perf) driver supporting the CONFIG_ARM CCN (Cache Coherent Network)
	  interconnect.

config CONFIG_ARM_PMU
	depends on CONFIG_ARM || CONFIG_ARM64
	bool "ARM PMU framework"
	default y
	help
	  Say y if you want to use CPU performance monitors on CONFIG_ARM-based
	  systems.

config CONFIG_ARM_PMU_ACPI
	depends on CONFIG_ARM_PMU && CONFIG_ACPI
	def_bool y

config CONFIG_ARM_SMMU_V3_PMU
	 tristate "ARM SMMUv3 Performance Monitors Extension"
	 depends on CONFIG_ARM64 && CONFIG_ACPI && CONFIG_ARM_SMMU_V3
	   help
	   Provides support for the CONFIG_ARM SMMUv3 Performance Monitor Counter
	   Groups (PMCG), which provide monitoring of transactions passing
	   through the SMMU and allow the resulting information to be filtered
	   based on the Stream ID of the corresponding master.

config CONFIG_ARM_DSU_PMU
	tristate "ARM DynamIQ Shared Unit (DSU) PMU"
	depends on CONFIG_ARM64
	  help
	  Provides support for performance monitor unit in CONFIG_ARM DynamIQ Shared
	  Unit (DSU). The DSU integrates one or more cores with an L3 memory
	  system, control logic. The PMU allows counting various events related
	  to DSU.

config CONFIG_FSL_IMX8_DDR_PMU
	tristate "Freescale i.MX8 DDR perf monitor"
	depends on CONFIG_ARCH_MXC
	  help
	  Provides support for the CONFIG_DDR performance monitor in i.MX8, which
	  can give information about memory throughput and other related
	  events.

config CONFIG_HISI_PMU
       bool "HiSilicon SoC PMU"
       depends on CONFIG_ARM64 && CONFIG_ACPI
       help
         Support for HiSilicon SoC uncore performance monitoring
         unit (PMU), such as: L3C, HHA and DDRC.

config CONFIG_QCOM_L2_PMU
	bool "Qualcomm Technologies L2-cache PMU"
	depends on CONFIG_ARCH_QCOM && CONFIG_ARM64 && CONFIG_ACPI
	  help
	  Provides support for the L2 cache performance monitor unit (PMU)
	  in Qualcomm Technologies processors.
	  Adds the L2 cache PMU into the perf events subsystem for
	  monitoring L2 cache events.

config CONFIG_QCOM_L3_PMU
	bool "Qualcomm Technologies L3-cache PMU"
	depends on CONFIG_ARCH_QCOM && CONFIG_ARM64 && CONFIG_ACPI
	select CONFIG_QCOM_IRQ_COMBINER
	help
	   Provides support for the L3 cache performance monitor unit (PMU)
	   in Qualcomm Technologies processors.
	   Adds the L3 cache PMU into the perf events subsystem for
	   monitoring L3 cache events.

config CONFIG_THUNDERX2_PMU
	tristate "Cavium ThunderX2 SoC PMU UNCORE"
	depends on CONFIG_ARCH_THUNDER2 && CONFIG_ARM64 && CONFIG_ACPI && CONFIG_NUMA
	default m
	help
	   Provides support for ThunderX2 UNCORE events.
	   The SoC has PMU support in its L3 cache controller (L3C) and
	   in the DDR4 Memory Controller (DMC).

config CONFIG_XGENE_PMU
        depends on CONFIG_ARCH_XGENE
        bool "APM X-Gene SoC PMU"
        default n
        help
          Say y if you want to use CONFIG_APM X-Gene SoC performance monitors.

config CONFIG_ARM_SPE_PMU
	tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
	depends on CONFIG_ARM64
	help
	  Enable perf support for the ARMv8.2 Statistical Profiling
	  Extension, which provides periodic sampling of operations in
	  the CPU pipeline and reports this via the perf AUX interface.

endmenu