#include "TMemStatBacktrace.h"
#include <cstdlib>
#include <execinfo.h>
#include <cxxabi.h>
#include <dlfcn.h>
#include "TString.h"
Namespaces | |
namespace | Memstat |
Functions | |
size_t | Memstat::builtin_return_address (void **_container, size_t _limit) |
void | Memstat::demangle (char *_codeInfo, TString &_str) |
demangle symbols | |
size_t | Memstat::getBacktrace (void **_trace, size_t _size, Bool_t _bUseGNUBuiltinBacktrace) |
Get the backtrace _trace - array of pointers _size - maximal deepness of stack information _bUseGNUBuiltinBacktrace - whether to use gcc builtin backtrace or C library one. | |
void | Memstat::getSymbolFullInfo (void *_pAddr, TString *_retInfo, const char *const _seporator=" | ") |
int | Memstat::getSymbols (void *_pAddr, TString &, TString &_strLib, TString &_strSymbol) |
get the name of the function and library | |
static void * | Memstat::return_address (int _frame) |
we have a limit on the depth = 35 | |
Variables | |
void * | g_global_stack_end = NULL |
void* g_global_stack_end = NULL |
Definition at line 39 of file TMemStatBacktrace.cxx.