#include </builds/gaudi/Gaudi/GaudiProfiling/src/component/IgHook_IgHookTrace.h>
Definition at line 37 of file IgHook_IgHookTrace.h.
◆ IgHookTrace()
IgHookTrace::IgHookTrace |
( |
IgHookTrace * |
parent = 0 , |
|
|
void * |
address = 0 |
|
) |
| |
◆ address()
void * IgHookTrace::address |
( |
void |
| ) |
|
◆ child()
◆ children()
◆ counter()
◆ counters()
◆ merge()
◆ next()
◆ operator new()
◆ parent()
◆ stacktrace()
static int IgHookTrace::stacktrace |
( |
void ** |
addresses, |
|
|
int |
nmax |
|
) |
| |
|
static |
◆ symbol() [1/2]
bool IgHookTrace::symbol |
( |
const char *& |
sym, |
|
|
const char *& |
lib, |
|
|
int & |
offset, |
|
|
int & |
liboffset |
|
) |
| |
◆ symbol() [2/2]
bool IgHookTrace::symbol |
( |
void * |
address, |
|
|
const char *& |
sym, |
|
|
const char *& |
lib, |
|
|
int & |
offset, |
|
|
int & |
liboffset |
|
) |
| |
|
static |
Definition at line 222 of file IgHook_IgHookTrace.cpp.
225 liboffset = (
unsigned long)
address;
228 if ( dladdr(
address, &info ) ) {
229 if ( info.dli_fname && info.dli_fname[0] ) lib = info.dli_fname;
231 if ( info.dli_fbase ) liboffset = (
unsigned long)
address - (
unsigned long)info.dli_fbase;
233 if ( info.dli_saddr ) offset = (
unsigned long)
address - (
unsigned long)info.dli_saddr;
235 if ( info.dli_sname && info.dli_sname[0] ) sym = info.dli_sname;
◆ tosymbol()
void * IgHookTrace::tosymbol |
( |
void * |
address | ) |
|
|
static |
Definition at line 247 of file IgHook_IgHookTrace.cpp.
249 return ( dladdr(
address, &info ) && info.dli_fname && info.dli_fname[0] && info.dli_saddr ) ? info.dli_saddr
◆ m_address
void* IgHookTrace::m_address |
|
private |
◆ m_alloc
◆ m_children
◆ m_counters
◆ m_next
◆ m_parent
The documentation for this class was generated from the following files: