diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/stackchk/stackchk.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cpukit/libmisc/stackchk/stackchk.h b/cpukit/libmisc/stackchk/stackchk.h index 78c0c9377d..b0dd69930a 100644 --- a/cpukit/libmisc/stackchk/stackchk.h +++ b/cpukit/libmisc/stackchk/stackchk.h @@ -18,6 +18,8 @@ #ifndef __RTEMS_STACK_CHECKER_h #define __RTEMS_STACK_CHECKER_h +#include <rtems/bspIo.h> + #ifdef __cplusplus extern "C" { #endif @@ -42,6 +44,21 @@ boolean rtems_stack_checker_is_blown( void ); */ void rtems_stack_checker_report_usage( void ); +/** @brief Print Stack Usage Report + * + * This method prints a stack usage report for the curently executing + * task. + * + * @param[in] context is the context to pass to the print handler + * @param[in] print is the print handler + * + * @note It uses the CALLER's routine to print the report. + */ +void rtems_stack_checker_report_usage_with_plugin( + void *context, + rtems_printk_plugin_t print +); + /************************************************************* ************************************************************* ** Prototyped only so the user extension can be installed ** |