TMemStatDepend Class Reference

#include <TMemStatDepend.h>

List of all members.

Public Types

typedef void *(*) MallocHookFunc_t (size_t size, const void *caller)
typedef void(*) FreeHookFunc_t (void *ptr, const void *caller)

Static Public Member Functions

static MallocHookFunc_t GetMallocHook ()
static FreeHookFunc_t GetFreeHook ()
static void SetMallocHook (MallocHookFunc_t p)
static void SetFreeHook (FreeHookFunc_t p)
static size_t Backtrace (void **trace, size_t size, Bool_t _bUseGNUBuildinBacktrace=kFALSE)
static char ** BacktraceSymbols (void **trace, size_t size)
static void GetSymbols (void *pFunction, TString &strInfo, TString &strLib, TString &strFun, TString &strLine)
static void Demangle (char *codeInfo, TString &str)


Detailed Description

Definition at line 32 of file TMemStatDepend.h.


Member Typedef Documentation

typedef void*(*) TMemStatDepend::MallocHookFunc_t(size_t size, const void *caller)

Definition at line 38 of file TMemStatDepend.h.

typedef void(*) TMemStatDepend::FreeHookFunc_t(void *ptr, const void *caller)

Definition at line 39 of file TMemStatDepend.h.


Member Function Documentation

TMemStatDepend::MallocHookFunc_t TMemStatDepend::GetMallocHook (  )  [static]

Definition at line 108 of file TMemStatDepend.cxx.

TMemStatDepend::FreeHookFunc_t TMemStatDepend::GetFreeHook (  )  [static]

Definition at line 120 of file TMemStatDepend.cxx.

void TMemStatDepend::SetMallocHook ( MallocHookFunc_t  p  )  [static]

Definition at line 132 of file TMemStatDepend.cxx.

Referenced by TMemStatManager::AllocHook(), TMemStatManager::Disable(), and TMemStatManager::Enable().

void TMemStatDepend::SetFreeHook ( FreeHookFunc_t  p  )  [static]

Definition at line 144 of file TMemStatDepend.cxx.

Referenced by TMemStatManager::Disable(), TMemStatManager::Enable(), and TMemStatManager::FreeHook().

size_t TMemStatDepend::Backtrace ( void **  trace,
size_t  size,
Bool_t  _bUseGNUBuildinBacktrace = kFALSE 
) [static]

Definition at line 156 of file TMemStatDepend.cxx.

References builtin_return_address().

Referenced by TMemStatManager::AddPointer().

char ** TMemStatDepend::BacktraceSymbols ( void **  trace,
size_t  size 
) [static]

Definition at line 186 of file TMemStatDepend.cxx.

void TMemStatDepend::GetSymbols ( void *  pFunction,
TString strInfo,
TString strLib,
TString strFun,
TString strLine 
) [static]

Definition at line 199 of file TMemStatDepend.cxx.

References free(), and func().

Referenced by TMemStatCodeInfo::SetInfo().

void TMemStatDepend::Demangle ( char *  codeInfo,
TString str 
) [static]

Definition at line 246 of file TMemStatDepend.cxx.

References free(), and str.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:42:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1