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