wangzhi16 opened a new pull request, #18080:
URL: https://github.com/apache/nuttx/pull/18080

   ## Summary
   
   This PR renames the non-instrumented critical-section API identifiers from 
the `_wo_note` suffix to `_notrace` to more clearly indicate the absence of 
tracing/notes. The change is a symbol rename and macro-update only; it does not 
alter runtime logic.
   
   Details:
   - Replace `enter_critical_section_wo_note()` -> 
`enter_critical_section_notrace()`
   - Replace `leave_critical_section_wo_note(flags)` -> 
`leave_critical_section_notrace(flags)`
   - Update `include/nuttx/irq.h` to map 
`enter_critical_section()`/`leave_critical_section()` to `_notrace` variants 
when instrumentation is disabled.
   - Update implementation names and internal calls in 
`sched/irq/irq_csection.c`.
   - Update call sites in `drivers/note/note_driver.c`, 
`sched/sched/sched_lock.c`, and `sched/sched/sched_unlock.c`.
   
   Commit: 6747e51e58e6095a2a9956705949742712d74e26
   Author: wangzhi16 <[email protected]>
   Date: Wed Jan 21 19:15:23 2026 +0800
   
   ## Impact
   
   - Users: Minimal functional impact; behaviour unchanged when all references 
are updated. External modules referencing the old `_wo_note` symbols will fail 
to link until updated.
   - Build: In-tree builds should succeed if all occurrences were updated; 
third-party code that references `_wo_note` will break.
   - Hardware: No hardware-specific changes.
   - Documentation: References to `_wo_note` should be updated.
   - Security: None.
   - Compatibility: API-level rename; consider adding deprecated compatibility 
macros if downstream stability is desired.
   
   ## Testing
   
   ostest PASS
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to