RTEMS | Draft: Feature/stack reporter config (!86)

Joel Sherrill (@joel) gitlab at rtems.org
Sun Jul 7 18:22:46 UTC 2024




Joel Sherrill commented on a discussion on cpukit/include/rtems/stackchk.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108822

 >    rtems_tcb *heir
 >  );
 >  
 > +/**
 > + * @brief User-Configured Function to Report a Blown Stack.
 > + * 
 > + * @param[in] running running points to the currently executing thread which
 > + * is being context switched out.
 > + * 
 > + * @param pattern_ok bool variable to check if the pattern is
 > + * still valid or not
 > + */
 > +void rtems_custom_stack_check_reporter(

If this code is current, the custom reporter should not be here. It is a user provided method. It is hooked in by defining the right macro which sets the variable to the user's routine, not the default.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108822
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/20240707/79e92e98/attachment.htm>


More information about the bugs mailing list