The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
Loading...
Searching...
No Matches
Typedefs | Functions
backtrace.h File Reference

Functions to help with cleanup. More...

#include <freeradius-devel/util/fring.h>
+ Include dependency graph for backtrace.h:

Go to the source code of this file.

Typedefs

typedef struct fr_bt_marker fr_bt_marker_t
 

Functions

void fr_backtrace (void)
 
fr_bt_marker_tfr_backtrace_attach (fr_fring_t **fring, TALLOC_CTX *obj)
 
void fr_backtrace_init (char const *program)
 
void fr_backtrace_print (fr_fring_t *fring, void *obj)
 

Detailed Description

Functions to help with cleanup.

Allows for printing backtraces of memory allocations or after crashes

Definition in file backtrace.h.

Typedef Documentation

◆ fr_bt_marker_t

typedef struct fr_bt_marker fr_bt_marker_t

Definition at line 33 of file backtrace.h.

Function Documentation

◆ fr_backtrace()

void fr_backtrace ( void  )

Definition at line 212 of file backtrace.c.

+ Here is the caller graph for this function:

◆ fr_backtrace_attach()

fr_bt_marker_t * fr_backtrace_attach ( fr_fring_t **  fring,
TALLOC_CTX *  obj 
)

◆ fr_backtrace_init()

void fr_backtrace_init ( char const *  program)

◆ fr_backtrace_print()

void fr_backtrace_print ( fr_fring_t fring,
void *  obj 
)