Backtrace functionalitry. More...
Backtrace functionalitry.
If you call the backtrace_print() function a stack backtrace of all return addresses up to BACKTRACE_SIZE will be printed from the point of execution.
Files | |
| file | backtrace.h |
| Backtrace functionalitry. | |
Macros | |
| #define | BACKTRACE_SIZE (4U) |
| Maximum number of return addresses to print. | |
Functions | |
| void | backtrace_print (void) |
| Print up to the last BACKTRACE_SIZE return addresses from call of this function. | |
| void | backtrace_print_symbols (void) |
| Print up to the last BACKTRACE_SIZE symbol_names from call of this function. | |
| int | backtrace_len (void) |
| get the number of stack frames that are printed by print or print_symbols | |