libdragon
Data Structures | Functions

Backtrace (call stack) support. More...

Go to the source code of this file.

Data Structures

struct  backtrace_frame_t
 A stack frame, part of a backtrace. More...
 

Functions

void backtrace_frame_print (backtrace_frame_t *frame, FILE *out)
 Print a single frame of a backtrace. More...
 
void backtrace_frame_print_compact (backtrace_frame_t *frame, FILE *out, int width)
 Print a single frame of a backtrace, in a compact format. More...
 
int backtrace (void **buffer, int size)
 Walk the stack and return the current call stack. More...
 
char ** backtrace_symbols (void **buffer, int size)
 Translate the buffer returned by backtrace into a list of strings. More...
 
bool backtrace_symbols_cb (void **buffer, int size, uint32_t flags, void(*cb)(void *, backtrace_frame_t *), void *cb_arg)
 Symbolize the buffer returned by backtrace, calling a callback for each frame. More...
 

Detailed Description

Backtrace (call stack) support.