RTEMS | Improve rtems_stack_checker_reporter API signature (#5409)
Nithilan Rameshkumar (@nithitsuki)
gitlab at rtems.org
Sat Jan 24 12:29:58 UTC 2026
Nithilan Rameshkumar commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5409#note_139893
Hi, I'm interested in working on this issue.
I've looked through the code and understand the goal: refactor `Stack_checker_Reporter_handler` to take a single `rtems_stack_checker_info` pointer instead of exposing `Thread_Control`/`rtems_tcb`.
**My approach:**
1. Extend `rtems_stack_checker_info` with a `pattern_ok` field
2. Update `Stack_checker_Reporter_handler` typedef and built-in reporters
3. Add a helper in `check.c` to populate the info struct before calling the reporter
4. Update the `stackchk03` test's custom reporter
**Question:** Should this be a breaking change, or is a deprecation period needed for the old signature?
Please let me know if this looks correct and I will proceed with the draft MR.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5409#note_139893
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260124/394b148b/attachment.htm>
More information about the bugs
mailing list