sched: Remove FS_PROCFS dependency for SCHED_CRITMONITOR

Allow SCHED_CRITMONITOR to be enabled without requiring FS_PROCFS,
so it can be used in scenarios like calculating CPU load via
SCHED_CPULOAD_CRITMONITOR where procfs is not available.

Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
chao an 2026-01-27 12:16:29 +08:00 committed by Donny(董九柱)
parent 3b11545356
commit c2eb22d29e

View file

@ -910,7 +910,6 @@ config SCHED_IRQMONITOR
config SCHED_CRITMONITOR
bool "Enable Critical Section monitoring"
default n
depends on FS_PROCFS
select IRQCOUNT
---help---
Enables logic that monitors the duration of time that a thread keeps