next up previous contents index
Next: 20 Profiling Support: liboskit_gprof.a Up: 19.3 Additional Debugging Utilities Previous: 19.3.6 memdebug_bogosity: Prints a

19.3.7 memdebug_store_backtrace: Stores call-stack trace in provided buffer

 

SYNOPSIS

#include <oskit/memdebug.h>

void memdebug_store_backtrace(unsigned *backtrace, int max_len);

DESCRIPTION

Stores a machine-specific back-trace in the provided buffer. In conjunction with the object code and the nm utility, the back-trace can provide a function call stack.

PARAMETERS

backtrace
A buffer of at least max_len unsigned ints.
max_len
Size of back-trace buffer.



University of Utah Flux Research Group