Asterisk - The Open Source Telephony Project  21.4.1
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

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_log_backtrace().

unsigned int alloced

Tells if the ast_bt structure was dynamically allocated

Definition at line 56 of file backtrace.h.

int num_frames

The number of stack frames in the backtrace

Definition at line 54 of file backtrace.h.

Referenced by ast_log_backtrace().


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