Asterisk - The Open Source Telephony Project  21.4.1
Macros | Functions
backtrace.c File Reference

Asterisk backtrace generation. More...

#include "asterisk.h"
#include "asterisk/backtrace.h"
#include "asterisk/vector.h"
#include <execinfo.h>
#include <pthread.h>

Go to the source code of this file.

Macros

#define _ASTERISK_LOCK_H
 
#define ast_calloc(n, x)   calloc(n, x)
 
#define ast_free(x)   free(x)
 
#define ast_malloc(x)   malloc(x)
 
#define ASTMM_LIBC   ASTMM_IGNORE
 
#define S_OR(a, b)   (a && a[0] != '\0') ? a : b
 

Functions

struct ast_bt__ast_bt_create (void)
 
void * __ast_bt_destroy (struct ast_bt *bt)
 
void __ast_bt_free_symbols (struct ast_vector_string *symbols)
 
int __ast_bt_get_addresses (struct ast_bt *bt)
 
struct ast_vector_string__ast_bt_get_symbols (void **addresses, size_t num_frames)
 

Detailed Description

Asterisk backtrace generation.

This file provides backtrace generation utilities

Definition in file backtrace.c.