Kconfig 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Performance monitoring"
  3. config PERF_EVENTS_INTEL_UNCORE
  4. tristate "Intel uncore performance events"
  5. depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
  6. default y
  7. help
  8. Include support for Intel uncore performance events. These are
  9. available on NehalemEX and more modern processors.
  10. config PERF_EVENTS_INTEL_RAPL
  11. tristate "Intel/AMD rapl performance events"
  12. depends on PERF_EVENTS && (CPU_SUP_INTEL || CPU_SUP_AMD) && PCI
  13. default y
  14. help
  15. Include support for Intel and AMD rapl performance events for power
  16. monitoring on modern processors.
  17. config PERF_EVENTS_INTEL_CSTATE
  18. tristate "Intel cstate performance events"
  19. depends on PERF_EVENTS && CPU_SUP_INTEL && PCI
  20. default y
  21. help
  22. Include support for Intel cstate performance events for power
  23. monitoring on modern processors.
  24. config PERF_EVENTS_AMD_POWER
  25. depends on PERF_EVENTS && CPU_SUP_AMD
  26. tristate "AMD Processor Power Reporting Mechanism"
  27. help
  28. Provide power reporting mechanism support for AMD processors.
  29. Currently, it leverages X86_FEATURE_ACC_POWER
  30. (CPUID Fn8000_0007_EDX[12]) interface to calculate the
  31. average power consumption on Family 15h processors.
  32. config PERF_EVENTS_AMD_UNCORE
  33. tristate "AMD Uncore performance events"
  34. depends on PERF_EVENTS && CPU_SUP_AMD
  35. default y
  36. help
  37. Include support for AMD uncore performance events for use with
  38. e.g., perf stat -e amd_l3/.../,amd_df/.../.
  39. To compile this driver as a module, choose M here: the
  40. module will be called 'amd-uncore'.
  41. config PERF_EVENTS_AMD_BRS
  42. depends on PERF_EVENTS && CPU_SUP_AMD
  43. bool "AMD Zen3 Branch Sampling support"
  44. help
  45. Enable AMD Zen3 branch sampling support (BRS) which samples up to
  46. 16 consecutive taken branches in registers.
  47. endmenu