The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
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 188 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 
)