1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 207dc900eSPeter Zijlstramenu "Performance monitoring" 307dc900eSPeter Zijlstra 407dc900eSPeter Zijlstraconfig PERF_EVENTS_INTEL_UNCORE 507dc900eSPeter Zijlstra tristate "Intel uncore performance events" 607dc900eSPeter Zijlstra depends on PERF_EVENTS && CPU_SUP_INTEL && PCI 707dc900eSPeter Zijlstra default y 8a7f7f624SMasahiro Yamada help 907dc900eSPeter Zijlstra Include support for Intel uncore performance events. These are 1007dc900eSPeter Zijlstra available on NehalemEX and more modern processors. 1107dc900eSPeter Zijlstra 1207dc900eSPeter Zijlstraconfig PERF_EVENTS_INTEL_RAPL 13fd3ae1e1SStephane Eranian tristate "Intel/AMD rapl performance events" 14fd3ae1e1SStephane Eranian depends on PERF_EVENTS && (CPU_SUP_INTEL || CPU_SUP_AMD) && PCI 1507dc900eSPeter Zijlstra default y 16a7f7f624SMasahiro Yamada help 17fd3ae1e1SStephane Eranian Include support for Intel and AMD rapl performance events for power 1807dc900eSPeter Zijlstra monitoring on modern processors. 1907dc900eSPeter Zijlstra 2007dc900eSPeter Zijlstraconfig PERF_EVENTS_INTEL_CSTATE 2107dc900eSPeter Zijlstra tristate "Intel cstate performance events" 2207dc900eSPeter Zijlstra depends on PERF_EVENTS && CPU_SUP_INTEL && PCI 2307dc900eSPeter Zijlstra default y 24a7f7f624SMasahiro Yamada help 2507dc900eSPeter Zijlstra Include support for Intel cstate performance events for power 2607dc900eSPeter Zijlstra monitoring on modern processors. 2707dc900eSPeter Zijlstra 2807dc900eSPeter Zijlstraconfig PERF_EVENTS_AMD_POWER 2907dc900eSPeter Zijlstra depends on PERF_EVENTS && CPU_SUP_AMD 3007dc900eSPeter Zijlstra tristate "AMD Processor Power Reporting Mechanism" 31a7f7f624SMasahiro Yamada help 3207dc900eSPeter Zijlstra Provide power reporting mechanism support for AMD processors. 3307dc900eSPeter Zijlstra Currently, it leverages X86_FEATURE_ACC_POWER 3407dc900eSPeter Zijlstra (CPUID Fn8000_0007_EDX[12]) interface to calculate the 3507dc900eSPeter Zijlstra average power consumption on Family 15h processors. 3607dc900eSPeter Zijlstra 3705485745SKim Phillipsconfig PERF_EVENTS_AMD_UNCORE 3805485745SKim Phillips tristate "AMD Uncore performance events" 3905485745SKim Phillips depends on PERF_EVENTS && CPU_SUP_AMD 4005485745SKim Phillips default y 4105485745SKim Phillips help 4205485745SKim Phillips Include support for AMD uncore performance events for use with 4305485745SKim Phillips e.g., perf stat -e amd_l3/.../,amd_df/.../. 4405485745SKim Phillips 4505485745SKim Phillips To compile this driver as a module, choose M here: the 4605485745SKim Phillips module will be called 'amd-uncore'. 47*cc37e520SStephane Eranian 48*cc37e520SStephane Eranianconfig PERF_EVENTS_AMD_BRS 49*cc37e520SStephane Eranian depends on PERF_EVENTS && CPU_SUP_AMD 50*cc37e520SStephane Eranian bool "AMD Zen3 Branch Sampling support" 51*cc37e520SStephane Eranian help 52*cc37e520SStephane Eranian Enable AMD Zen3 branch sampling support (BRS) which samples up to 53*cc37e520SStephane Eranian 16 consecutive taken branches in registers. 54*cc37e520SStephane Eranian 5507dc900eSPeter Zijlstraendmenu 56