This is an automated email from the ASF dual-hosted git repository.

jiuzhudong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new c2eb22d29ec sched: Remove FS_PROCFS dependency for SCHED_CRITMONITOR
c2eb22d29ec is described below

commit c2eb22d29ecd7b7cbdce6b2946cb17e67a86228c
Author: chao an <[email protected]>
AuthorDate: Tue Jan 27 12:16:29 2026 +0800

    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 <[email protected]>
---
 sched/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sched/Kconfig b/sched/Kconfig
index bc68d2808f6..c214c4cc53b 100644
--- a/sched/Kconfig
+++ b/sched/Kconfig
@@ -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

Reply via email to