PPL Logo

conv-core/cmibacktrace.C File Reference

Go to the source code of this file.

Functions

void CmiBacktraceRecord (void **retPtrs, int nSkip, int *nLevels)
 Extract the function-return pointers listed in the stack up to this depth.
void CmiBacktraceRecordHuge (void **retPtrs, int *nLevels)
char ** CmiBacktraceLookup (void **srcPtrs, int nLevels)
 Look up the names of these function pointers.
void CmiBacktraceRecordHuge (void **retPtrs, int nSkip, int *nLevels)


Function Documentation

void CmiBacktraceRecord ( void **  retPtrs,
int  nSkip,
int nLevels 
)

Extract the function-return pointers listed in the stack up to this depth.

nSkip is the number of enclosing functions to skip-- for example, nSkip==0 means the retPtrs[0] will be the caller of CmiBacktraceRecord. Returns retPtrs[0..*nLevels-1] stack pointers. nLevels may be decreased if not enough levels are available.

Definition at line 24 of file cmibacktrace.C.

Referenced by CmiIsFortranLibraryCall(), CmiPrintStackTrace(), CpdNotify(), and setSlot().

Here is the caller graph for this function:

void CmiBacktraceRecordHuge ( void **  retPtrs,
int nLevels 
)

Definition at line 35 of file cmibacktrace.C.

Referenced by cpd_memory_single_pup().

Here is the caller graph for this function:

char ** CmiBacktraceLookup ( void **  srcPtrs,
int  nLevels 
)

Look up the names of these function pointers.

Caller must free() the returned array, but not the individual strings.

Definition at line 40 of file cmibacktrace.C.

Referenced by CmiBacktracePrint(), and CmiIsFortranLibraryCall().

Here is the caller graph for this function:

void CmiBacktraceRecordHuge ( void **  retPtrs,
int  nSkip,
int nLevels 
)

Definition at line 50 of file cmibacktrace.C.


Generated on Mon Sep 21 08:00:13 2020 for Charm++ by  doxygen 1.5.5