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