#include <dlfcn.h>
#include <freeradius-devel/util/backtrace.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/fring.h>
#include <freeradius-devel/util/misc.h>
Go to the source code of this file.
◆ fr_bt_info_t
Definition at line 40 of file backtrace.c.
Data Fields |
int |
count |
Number of frames stored. |
void * |
frames[MAX_BT_FRAMES] |
Backtrace frame data. |
void * |
obj |
Memory address of the block of allocated memory. |
◆ fr_bt_marker
Definition at line 50 of file backtrace.c.
Data Fields |
fr_fring_t * |
fring |
Where we temporarily store the backtraces. |
void * |
obj |
Pointer to the parent object, this is our needle when we iterate over the contents of the circular buffer. |
◆ MAX_BT_CBUFF
Should be a power of 2.
Definition at line 35 of file backtrace.c.
◆ MAX_BT_FRAMES
◆ fr_backtrace()
void fr_backtrace |
( |
void |
| ) |
|
◆ fr_backtrace_attach()
◆ fr_backtrace_init()
void fr_backtrace_init |
( |
UNUSED char const * |
program | ) |
|
◆ fr_backtrace_lock