Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMemStatBacktrace.cxx File Reference
#include "TMemStatBacktrace.h"
#include <cstdlib>
#include <execinfo.h>
#include <cxxabi.h>
#include <dlfcn.h>
#include "TString.h"
Include dependency graph for TMemStatBacktrace.cxx:

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 voidMemstat::return_address (int _frame)
 we have a limit on the depth = 35
 

Variables

voidg_global_stack_end = NULL
 

Variable Documentation

◆ g_global_stack_end

void* g_global_stack_end = NULL

Definition at line 39 of file TMemStatBacktrace.cxx.