Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 menu "Performance monitoring"
0003 
0004 config PERF_EVENTS_INTEL_UNCORE
0005         tristate "Intel uncore performance events"
0006         depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
0007         default y
0008         help
0009           Include support for Intel uncore performance events. These are
0010           available on NehalemEX and more modern processors.
0011 
0012 config PERF_EVENTS_INTEL_RAPL
0013         tristate "Intel/AMD rapl performance events"
0014         depends on PERF_EVENTS && (CPU_SUP_INTEL || CPU_SUP_AMD) && PCI
0015         default y
0016         help
0017           Include support for Intel and AMD rapl performance events for power
0018           monitoring on modern processors.
0019 
0020 config PERF_EVENTS_INTEL_CSTATE
0021         tristate "Intel cstate performance events"
0022         depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
0023         default y
0024         help
0025           Include support for Intel cstate performance events for power
0026           monitoring on modern processors.
0027 
0028 config PERF_EVENTS_AMD_POWER
0029         depends on PERF_EVENTS && CPU_SUP_AMD
0030         tristate "AMD Processor Power Reporting Mechanism"
0031         help
0032           Provide power reporting mechanism support for AMD processors.
0033           Currently, it leverages X86_FEATURE_ACC_POWER
0034           (CPUID Fn8000_0007_EDX[12]) interface to calculate the
0035           average power consumption on Family 15h processors.
0036 
0037 config PERF_EVENTS_AMD_UNCORE
0038         tristate "AMD Uncore performance events"
0039         depends on PERF_EVENTS && CPU_SUP_AMD
0040         default y
0041         help
0042           Include support for AMD uncore performance events for use with
0043           e.g., perf stat -e amd_l3/.../,amd_df/.../.
0044 
0045           To compile this driver as a module, choose M here: the
0046           module will be called 'amd-uncore'.
0047 
0048 config PERF_EVENTS_AMD_BRS
0049         depends on PERF_EVENTS && CPU_SUP_AMD
0050         bool "AMD Zen3 Branch Sampling support"
0051         help
0052           Enable AMD Zen3 branch sampling support (BRS) which samples up to
0053           16 consecutive taken branches in registers.
0054 
0055 endmenu