Asterisk - The Open Source Telephony Project GIT-master-a358458
Data Fields
ast_bt Struct Reference

A structure to hold backtrace information. This structure provides an easy means to store backtrace information or pass backtraces to other functions. More...

#include <backtrace.h>

Data Fields

void * addresses [AST_MAX_BT_FRAMES]
 
unsigned int alloced:1
 
int num_frames
 

Detailed Description

A structure to hold backtrace information. This structure provides an easy means to store backtrace information or pass backtraces to other functions.

Definition at line 50 of file backtrace.h.

Field Documentation

◆ addresses

void* addresses[AST_MAX_BT_FRAMES]

The addresses of the stack frames. This is filled in by calling the glibc backtrace() function

Definition at line 52 of file backtrace.h.

Referenced by __ast_bt_get_addresses(), and ast_log_backtrace().

◆ alloced

unsigned int alloced

Tells if the ast_bt structure was dynamically allocated

Definition at line 56 of file backtrace.h.

Referenced by __ast_bt_create(), and __ast_bt_destroy().

◆ num_frames

int num_frames

The number of stack frames in the backtrace

Definition at line 54 of file backtrace.h.

Referenced by __ast_bt_get_addresses(), and ast_log_backtrace().


The documentation for this struct was generated from the following file: