xref: /linux/arch/x86/events/Kconfig (revision a1c3be890440a1769ed6f822376a3e3ab0d42994)
1# SPDX-License-Identifier: GPL-2.0
2menu "Performance monitoring"
3
4config PERF_EVENTS_INTEL_UNCORE
5	tristate "Intel uncore performance events"
6	depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
7	default y
8	help
9	Include support for Intel uncore performance events. These are
10	available on NehalemEX and more modern processors.
11
12config PERF_EVENTS_INTEL_RAPL
13	tristate "Intel/AMD rapl performance events"
14	depends on PERF_EVENTS && (CPU_SUP_INTEL || CPU_SUP_AMD) && PCI
15	default y
16	help
17	Include support for Intel and AMD rapl performance events for power
18	monitoring on modern processors.
19
20config PERF_EVENTS_INTEL_CSTATE
21	tristate "Intel cstate performance events"
22	depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
23	default y
24	help
25	Include support for Intel cstate performance events for power
26	monitoring on modern processors.
27
28config PERF_EVENTS_AMD_POWER
29	depends on PERF_EVENTS && CPU_SUP_AMD
30	tristate "AMD Processor Power Reporting Mechanism"
31	help
32	  Provide power reporting mechanism support for AMD processors.
33	  Currently, it leverages X86_FEATURE_ACC_POWER
34	  (CPUID Fn8000_0007_EDX[12]) interface to calculate the
35	  average power consumption on Family 15h processors.
36
37endmenu
38