Merge tag 'pull-work.unaligned' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / arch / x86 / events / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
e633c65a
KL
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
a7f7f624 8 help
108ea7eb
JH
9 Include support for Intel uncore performance events. These are
10 available on NehalemEX and more modern processors.
e633c65a 11
4b6e2571 12config PERF_EVENTS_INTEL_RAPL
fd3ae1e1
SE
13 tristate "Intel/AMD rapl performance events"
14 depends on PERF_EVENTS && (CPU_SUP_INTEL || CPU_SUP_AMD) && PCI
4b6e2571 15 default y
a7f7f624 16 help
108ea7eb
JH
17 Include support for Intel and AMD rapl performance events for power
18 monitoring on modern processors.
4b6e2571 19
c7afba32
TG
20config PERF_EVENTS_INTEL_CSTATE
21 tristate "Intel cstate performance events"
22 depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
23 default y
a7f7f624 24 help
108ea7eb
JH
25 Include support for Intel cstate performance events for power
26 monitoring on modern processors.
c7afba32 27
07dc900e
PZ
28config PERF_EVENTS_AMD_POWER
29 depends on PERF_EVENTS && CPU_SUP_AMD
30 tristate "AMD Processor Power Reporting Mechanism"
a7f7f624 31 help
07dc900e
PZ
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
05485745
KP
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'.
cc37e520
SE
47
48config PERF_EVENTS_AMD_BRS
49 depends on PERF_EVENTS && CPU_SUP_AMD
50 bool "AMD Zen3 Branch Sampling support"
51 help
52 Enable AMD Zen3 branch sampling support (BRS) which samples up to
53 16 consecutive taken branches in registers.
54
e633c65a 55endmenu