11 #ifndef ROOT_TMemStatBacktrace 12 #define ROOT_TMemStatBacktrace 14 #define _INIT_TOP_STACK extern void *g_global_stack_end; 15 #define _GET_CALLER_FRAME_ADDR g_global_stack_end = __builtin_frame_address(1);
void demangle(char *_codeInfo, TString &_str)
demangle symbols
size_t getBacktrace(void **_trace, size_t _size, Bool_t _bUseGNUBuiltinBacktrace=kFALSE)
Get the backtrace _trace - array of pointers _size - maximal deepness of stack information _bUseGNUBu...
int getSymbols(void *_pAddr, TString &_strInfo, TString &_strLib, TString &_strSymbol)
get the name of the function and library
void getSymbolFullInfo(void *_pAddr, TString *_retInfo, const char *const _seporator=" | ")