Fix-Point opened a new pull request, #4137:
URL: https://github.com/apache/nuttx-apps/pull/4137

   ## Summary
   
   The kernel renamed `CONFIG_SCHED_CRITMONITOR_MAXTIME_CSECTION` to 
`CONFIG_SCHED_CRITMONITOR_MAXTIME_IRQDISABLE` when it extended the 
interrupt-disabled monitoring to spinlocks. The critmon application still 
tested the old name, which breaks the kernel build with `-Werror=undef` on 
configurations where the old name is not defined (e.g. arm64), and reads a 
report column the kernel no longer prints because the option defaults to -1.
   
   Rename the option, the `maxcrit` variable and the report header column 
(`CSECTION CALLER` → `IRQ-DISABLE CALLER`) in `system/critmon/critmon.c` to 
match the kernel.
   
   ## Impact
   
   - **User impact**: `critmon` now reads the IRQ-disabled column and no longer 
breaks builds where the old option name is undefined.
   - **Build**: no `CONFIG_*` change; only the application source.
   - **Compatibility**: the application follows the kernel option rename.
   - **Documentation**: none.
   - **Security**: none.
   - **Hardware**: none.
   
   ## Testing
   
   Build Host: Linux x86_64
   
   Boards/Configurations:
   - `qemu-armv7a:smp` with `CONFIG_SYSTEM_CRITMONITOR=y`, 
`CONFIG_SCHED_CRITMONITOR=y` (part of the kernel spinlock PR series)
   
   Verification:
   - `tools/checkpatch.sh` green.
   - The kernel PR builds with the renamed option (no `-Werror=undef` on arm64).
   
   Note: merge together with apache/nuttx PR #22215.
   


-- 
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