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

Mohamed Hassan (@Hamzi) gitlab at rtems.org
Sat Jul 6 20:37:59 UTC 2024




Mohamed Hassan commented on a discussion on testsuites/libtests/stackchk03/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108774

 > +#ifdef HAVE_CONFIG_H
 > +#include "config.h"
 > +#endif
 > +
 > +#define CONFIGURE_INIT
 > +
 > +#include <tmacros.h>
 > +
 > +const char rtems_test_name[] = "STACKCHK03";
 > +
 > +/**
 > + * Configure the stack checker to use the custom reporting function 
 > + */
 > +#define CONFIGURE_STACK_CHECKER_ENABLED
 > +
 > +#define CONFIGURE_STACK_CHECKER_REPORTER

do you mean relocated
```
#define STACK_CHECKER_REPORTER_CUSTOM rtems_stack_check_report_blown_task_custom
#define STACK_CHECKER_REPORTER_DEFAULT rtems_stack_check_report_blown_task_default
```
from `stackchk.h` to here? are these definition remain the same regardless of what the custom reporter does, so should it be kept at a header file like `stackchk.h`?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/86#note_108774
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/20240706/53c2c4c8/attachment-0001.htm>


More information about the bugs mailing list