arch: auto-select ARCH_PERF_EVENTS if some debug features enabled

This commit is contained in:
raiden00pl 2023-10-02 16:43:56 +02:00 committed by Xiang Xiao
parent 696d67870a
commit d889b7362d

View File

@ -502,6 +502,7 @@ config ARCH_HAVE_PERF_EVENTS
config ARCH_PERF_EVENTS
bool "Configure hardware performance counting"
default y if SCHED_CRITMONITOR || SCHED_IRQMONITOR || RPTUN_PING || SEGGER_SYSVIEW
default n
depends on ARCH_HAVE_PERF_EVENTS
---help---