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

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

commit 1e6d0cb8c87da5d7e950f5ac262ade92bb5095b5
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Tue Nov 10 21:17:15 2026 +0800

    sched/irq: complete the irqdis rename in documentation and nxgdb
    
    This is a series-original fix: it completes the symbol rename outside
    the original patch's file set; it is not present in the original
    history.
    
    The irqdis rename left two dangling consumers: the critical sections
    documentation still names the old Kconfig symbol, and the nxgdb TCB
    field declarations still reference the old crit_* field names, which
    breaks GDB field resolution.  Replace the identifiers so every tree
    consumer follows the rename.
    
    Assisted-By: mimo-v2.6-pro
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 Documentation/os/interrupts/critical_sections.rst | 2 +-
 tools/pynuttx/nxgdb/protocols/thread.py           | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/os/interrupts/critical_sections.rst 
b/Documentation/os/interrupts/critical_sections.rst
index ca691bdf4a3..5e151df6844 100644
--- a/Documentation/os/interrupts/critical_sections.rst
+++ b/Documentation/os/interrupts/critical_sections.rst
@@ -257,7 +257,7 @@ and preemption operations. Only have instructions when 
scheduler triggers contex
 
 **Critical section entered time**::
 
-  CONFIG_SCHED_CRITMONITOR_MAXTIME_CSECTION=-1
+  CONFIG_SCHED_CRITMONITOR_MAXTIME_IRQDISABLE=-1
 
 * Default -1 to disable critical section entered time statistic.
 * >= 0 to enable critical section entered time statistic, data will be in 
critmon procfs.
diff --git a/tools/pynuttx/nxgdb/protocols/thread.py 
b/tools/pynuttx/nxgdb/protocols/thread.py
index 857892f9318..005fc734f33 100644
--- a/tools/pynuttx/nxgdb/protocols/thread.py
+++ b/tools/pynuttx/nxgdb/protocols/thread.py
@@ -104,10 +104,10 @@ class Tcb(Value):
     preemp_max: Value
     preemp_caller: Value
     preemp_max_caller: Value
-    crit_start: Value
-    crit_max: Value
-    crit_caller: Value
-    crit_max_caller: Value
+    irqdis_start: Value
+    irqdis_max: Value
+    irqdis_caller: Value
+    irqdis_max_caller: Value
     perf_event_ctx: Value
     perf_event_mutex: Value
     xcp: Value

Reply via email to