Mark Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 1 | # |
| 2 | # Performance Monitor Drivers |
| 3 | # |
| 4 | |
| 5 | menu "Performance monitor support" |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 6 | depends on PERF_EVENTS |
Mark Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 7 | |
| 8 | config ARM_PMU |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 9 | depends on ARM || ARM64 |
Mark Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 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 | |
Mark Rutland | 45736a7 | 2017-04-11 09:39:55 +0100 | [diff] [blame] | 16 | config ARM_PMU_ACPI |
| 17 | depends on ARM_PMU && ACPI |
| 18 | def_bool y |
| 19 | |
Shaokun Zhang | 6ce4ef9 | 2017-10-19 19:05:17 +0800 | [diff] [blame^] | 20 | config 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 | |
Neil Leeder | 21bdbb7 | 2017-02-07 13:14:04 -0500 | [diff] [blame] | 27 | config QCOM_L2_PMU |
| 28 | bool "Qualcomm Technologies L2-cache PMU" |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 29 | depends on ARCH_QCOM && ARM64 && ACPI |
Neil Leeder | 21bdbb7 | 2017-02-07 13:14:04 -0500 | [diff] [blame] | 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 | |
Agustin Vega-Frias | 3071f13 | 2017-03-31 14:13:43 -0400 | [diff] [blame] | 36 | config QCOM_L3_PMU |
| 37 | bool "Qualcomm Technologies L3-cache PMU" |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 38 | depends on ARCH_QCOM && ARM64 && ACPI |
Agustin Vega-Frias | 3071f13 | 2017-03-31 14:13:43 -0400 | [diff] [blame] | 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 | |
Tai Nguyen | 832c927 | 2016-07-15 10:38:04 -0700 | [diff] [blame] | 46 | config XGENE_PMU |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 47 | depends on ARCH_XGENE |
Tai Nguyen | 832c927 | 2016-07-15 10:38:04 -0700 | [diff] [blame] | 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 | |
Will Deacon | d5d9696 | 2016-09-22 11:36:32 +0100 | [diff] [blame] | 53 | config 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 | |
Mark Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 61 | endmenu |