xref: /openbmc/linux/arch/x86/events/Kconfig (revision a9d85efb)
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
37config PERF_EVENTS_AMD_UNCORE
38	tristate "AMD Uncore performance events"
39	depends on PERF_EVENTS && CPU_SUP_AMD
40	default y
41	help
42	  Include support for AMD uncore performance events for use with
43	  e.g., perf stat -e amd_l3/.../,amd_df/.../.
44
45	  To compile this driver as a module, choose M here: the
46	  module will be called 'amd-uncore'.
47endmenu
48