libdragon
Loading...
Searching...
No Matches
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.
 
void backtrace_frame_print_compact (backtrace_frame_t *frame, FILE *out, int width)
 Print a single frame of a backtrace, in a compact format.
 
int backtrace (void **buffer, int size)
 Walk the stack and return the current call stack.
 
char ** backtrace_symbols (void **buffer, int size)
 Translate the buffer returned by backtrace into a list of strings.
 
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.
 

Detailed Description

Backtrace (call stack) support.