From d889b7362ddcf7184bd23b3d664924eae9792fb0 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Mon, 2 Oct 2023 16:43:56 +0200 Subject: [PATCH] arch: auto-select ARCH_PERF_EVENTS if some debug features enabled --- arch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/Kconfig b/arch/Kconfig index 1616a047b3..c545ac470f 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -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---