40#ifndef _RTEMS_STACKCHK_H
41#define _RTEMS_STACKCHK_H
190void rtems_stack_checker_begin_extension(
rtems_tcb *executing );
214#define RTEMS_STACK_CHECKER_EXTENSION \
216 rtems_stack_checker_create_extension, \
220 rtems_stack_checker_switch_extension, \
221 rtems_stack_checker_begin_extension, \
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
void rtems_stack_checker_report_usage_with_plugin(const rtems_printer *printer)
Print the stack usage report using caller's routine.
Definition: check.c:531
void rtems_stack_checker_iterate(rtems_stack_checker_visitor visit, void *arg)
Iterates over all stacks used by the system and invokes the visitor routine for each stack.
Definition: check.c:554
bool rtems_stack_checker_is_blown(void)
Checks if current task is blown its stack.
Definition: check.c:367
void rtems_stack_checker_switch_extension(rtems_tcb *running, rtems_tcb *heir)
Stack Checker Task Context Switch Extension.
Definition: check.c:317
bool rtems_stack_checker_create_extension(rtems_tcb *running, rtems_tcb *the_thread)
Stack Checker Task Create Extension.
void rtems_stack_checker_report_usage(void)
Print the stack usage report using printk.
Definition: check.c:547
void(* rtems_stack_checker_visitor)(const rtems_stack_checker_info *info, void *arg)
Visitor routines invoked by rtems_stack_checker_iterate() shall have this type.
Definition: stackchk.h:149
User print interface to the bspIO print plug in.
This header file defines the RTEMS Classic API.
This structure contains the stack information provided by the stack checker for a stack.
Definition: stackchk.h:97
uintptr_t used
This member contains the size in byes of the used stack area.
Definition: stackchk.h:138
uintptr_t size
This member contains the size in byes of the stack area.
Definition: stackchk.h:122
const void * current
This member provides the current stack pointer of the stack.
Definition: stackchk.h:130
const void * begin
This member provides the begin address of the stack area.
Definition: stackchk.h:117
const char * name
This member provides the object name associated with the object using the stack.
Definition: stackchk.h:112
rtems_id id
This member contains the object identifier associated with the object using the stack.
Definition: stackchk.h:104