1 # SPDX-License-Identifier: GPL-2.0
2 menu "Performance monitoring"
4 config PERF_EVENTS_INTEL_UNCORE
5 tristate "Intel uncore performance events"
6 depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
9 Include support for Intel uncore performance events. These are
10 available on NehalemEX and more modern processors.
12 config PERF_EVENTS_INTEL_RAPL
13 tristate "Intel/AMD rapl performance events"
14 depends on PERF_EVENTS && (CPU_SUP_INTEL || CPU_SUP_AMD) && PCI
17 Include support for Intel and AMD rapl performance events for power
18 monitoring on modern processors.
20 config PERF_EVENTS_INTEL_CSTATE
21 tristate "Intel cstate performance events"
22 depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
25 Include support for Intel cstate performance events for power
26 monitoring on modern processors.
28 config PERF_EVENTS_AMD_POWER
29 depends on PERF_EVENTS && CPU_SUP_AMD
30 tristate "AMD Processor Power Reporting Mechanism"
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.
37 config PERF_EVENTS_AMD_UNCORE
38 tristate "AMD Uncore performance events"
39 depends on PERF_EVENTS && CPU_SUP_AMD
42 Include support for AMD uncore performance events for use with
43 e.g., perf stat -e amd_l3/.../,amd_df/.../.
45 To compile this driver as a module, choose M here: the
46 module will be called 'amd-uncore'.
48 config PERF_EVENTS_AMD_BRS
49 depends on PERF_EVENTS && CPU_SUP_AMD
50 bool "AMD Zen3 Branch Sampling support"
52 Enable AMD Zen3 branch sampling support (BRS) which samples up to
53 16 consecutive taken branches in registers.