PPL Logo

ck-core/debug-charm.C File Reference

Go to the source code of this file.

Data Structures

struct  DebugRecursiveEntry
class  CkArrayElementRangeIterator< T >
 Count array elements going by until they reach this range (lo to hi), then start passing them to dest. More...
class  CkObjectRangeIterator< T >
 Count charm++ objects going by until they reach this range (lo to hi), then start passing them to dest. More...
class  ignoreAdd
class  CpdList_objectNames
 Examine all the objects on the server returning the name. More...
class  CpdList_object
 Examine a single object identified by the id passed in the request and return its type and memory data. More...
class  CpdList_arrayElementNames
 Coarse: examine array element names. More...
class  CpdList_arrayElements
 Detailed: examine array element data. More...
struct  ConditionalList
class  CpdList_localQ
class  CpdList_message
class  CpdList_msgStack

Typedefs

typedef CkHashtableTslow< int,
EntryInfo * > 
CpdBpFuncTable_t

Functions

 CkpvDeclare (int, skipBreakpoint)
 CkpvDeclare (DebugEntryTable, _debugEntryTable)
void CpdFinishInitialization ()
void resetAllCRC ()
void checkAllCRC (int report)
void * CpdGetCurrentObject ()
void * CpdGetCurrentMsg ()
int CpdInUserCode ()
void CpdBeforeEp (int ep, void *obj, void *msg)
void CpdAfterEp (int ep)
size_t hostInfoLength (void *)
void hostInfo (void *itemIter, pup_er pp, CpdListItemsRequest *req)
 CkpvExtern (void *, debugQueue)
void CpdPupMessage (PUP::er &p, void *msg)
 CkpvStaticDeclare (void *, lastBreakPointMsg)
 CpvExtern (void *, conditionalQueue)
static void CpdDeliverMessageInt (int msgNum)
void CpdDeliverMessage (char *msg)
void * CpdGetNextMessageConditional (CsdSchedulerState_t *s)
void CpdDeliverSingleMessage ()
static pid_t CpdConditional_SetupComm ()
void CpdEndConditionalDelivery (char *msg)
void CpdEndConditionalDeliver_master ()
void CpdDeliverMessageConditionally (char *msg)
void CpdCommitConditionalDelivery (char *msg)
void CpdFreeze (void)
void CpdUnFreeze (void)
int CpdIsFrozen (void)
 CpvStaticDeclare (int, _debugMsg)
 CpvStaticDeclare (int, _debugChare)
 CpvStaticDeclare (CpdBpFuncTable_t *, breakPointEntryTable)
 CkpvStaticDeclare (void *, lastBreakPointObject)
 CkpvStaticDeclare (int, lastBreakPointIndex)
void CpdBreakPointInit ()
static void _call_freeze_on_break_point (void *msg, void *object)
void CpdContinueFromBreakPoint ()
void CpdSetBreakPoint (char *msg)
void CpdQuitDebug ()
void CpdRemoveBreakPoint (char *msg)
void CpdRemoveAllBreakPoints ()
int CpdIsCharmDebugMessage (void *msg)
 CpvExtern (int, _bgCcsHandlerIdx)
int CpdIsBgCharmDebugMessage (void *msg)
 CpvExtern (char *, displayArgument)
void CpdStartGdb (void)
size_t cpd_memory_length (void *)
 Returns the number of total blocks of memory allocated.
void cpd_memory_pup (void *, void *, CpdListItemsRequest *)
void cpd_memory_leak (void *, void *, CpdListItemsRequest *)
size_t cpd_memory_getLength (void *)
void cpd_memory_get (void *, void *, CpdListItemsRequest *)
void CpdCharmInit ()
 CpvExtern (int, _bgCcsAck)
void req_fw_handler (char *)
 CkpvExtern (int, freezeModeFlag)
void BgProcessMessageFreezeMode (threadInfo *, char *)
void CpdBgInit ()

Variables

CpdPersistentChecker persistentCheckerUselessClass
CkQ< DebugRecursiveEntry_debugData
int cpdInSystem
ConditionalListconditionalShm = NULL


Typedef Documentation

Definition at line 753 of file debug-charm.C.


Function Documentation

CkpvDeclare ( int  ,
skipBreakpoint   
)

CkpvDeclare ( DebugEntryTable  ,
_debugEntryTable   
)

void CpdFinishInitialization (  ) 

Definition at line 43 of file debug-charm.C.

References _entryTable.

Referenced by _initCharm().

Here is the caller graph for this function:

void resetAllCRC (  ) 

void checkAllCRC ( int  report  ) 

void * CpdGetCurrentObject (  ) 

Definition at line 63 of file debug-charm.C.

References DebugRecursiveEntry::obj, and CkQ< T >::peek().

Referenced by CpdPythonGroup::buildIterator().

Here is the call graph for this function:

Here is the caller graph for this function:

void * CpdGetCurrentMsg (  ) 

Definition at line 64 of file debug-charm.C.

References DebugRecursiveEntry::msg, and CkQ< T >::peek().

Referenced by CpdPythonGroup::getMessage().

Here is the call graph for this function:

Here is the caller graph for this function:

int CpdInUserCode (  ) 

Definition at line 67 of file debug-charm.C.

References DebugRecursiveEntry::alreadyUserCode, cpdInSystem, CkQ< T >::length(), and CkQ< T >::peek().

Here is the call graph for this function:

void CpdBeforeEp ( int  ep,
void *  obj,
void *  msg 
)

void CpdAfterEp ( int  ep  ) 

size_t hostInfoLength ( void *   ) 

Definition at line 355 of file debug-charm.C.

Referenced by CpdCharmInit().

Here is the caller graph for this function:

void hostInfo ( void *  itemIter,
pup_er  pp,
CpdListItemsRequest req 
)

Definition at line 357 of file debug-charm.C.

References CmiAbort(), CpdListBeginItem(), and p.

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

CkpvExtern ( void *  ,
debugQueue   
)

void CpdPupMessage ( PUP::er p,
void *  msg 
)

CkpvStaticDeclare ( void *  ,
lastBreakPointMsg   
)

CpvExtern ( void *  ,
conditionalQueue   
)

static void CpdDeliverMessageInt ( int  msgNum  )  [static]

Definition at line 551 of file debug-charm.C.

References _conditionalDelivery, CdsFifo_Dequeue(), CdsFifo_Enqueue(), CmiHandleMessage(), CmiReference(), ConditionalList::count, PUP::m, and ConditionalList::msgs.

Referenced by CpdDeliverMessage(), CpdDeliverMessageConditionally(), and CpdEndConditionalDeliver_master().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdDeliverMessage ( char *  msg  ) 

Definition at line 574 of file debug-charm.C.

References CpdDeliverMessageInt().

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void* CpdGetNextMessageConditional ( CsdSchedulerState_t s  ) 

Definition at line 581 of file debug-charm.C.

References CdsFifo_Dequeue(), CmiAbort(), CmiAlloc(), CmiFree(), conditionalPipe, CqsDequeue(), len, CsdSchedulerState_t::localQ, msg, and CsdSchedulerState_t::schedQ.

Referenced by CpdConditional_SetupComm().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdDeliverSingleMessage (  ) 

static pid_t CpdConditional_SetupComm (  )  [static]

void CpdEndConditionalDelivery ( char *  msg  ) 

Definition at line 656 of file debug-charm.C.

References ConditionalList::count, PUP::m, and ConditionalList::msgs.

Referenced by CpdCharmInit().

Here is the caller graph for this function:

void CpdEndConditionalDeliver_master ( void   ) 

Definition at line 668 of file debug-charm.C.

Referenced by CcsHandleRequest().

Here is the caller graph for this function:

void CpdDeliverMessageConditionally ( char *  msg  ) 

Definition at line 713 of file debug-charm.C.

References CpdConditional_SetupComm(), CpdDeliverMessageInt(), CpdDeliverSingleMessage(), and PUP::m.

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdCommitConditionalDelivery ( char *  msg  ) 

Definition at line 725 of file debug-charm.C.

References ConditionalList::deliver.

Referenced by CpdCharmInit().

Here is the caller graph for this function:

void CpdFreeze ( void   ) 

Definition at line 135 of file middle-ccs.C.

Referenced by _call_freeze_on_break_point(), _initCharm(), cpd_memory_single_pup(), CpdPythonGroup::cpdCheck(), and ntohl().

Here is the caller graph for this function:

void CpdUnFreeze ( void   ) 

Definition at line 149 of file middle-ccs.C.

Referenced by CpdContinueFromBreakPoint().

Here is the caller graph for this function:

int CpdIsFrozen ( void   ) 

Definition at line 154 of file middle-ccs.C.

Referenced by CpdDeliverSingleMessage(), and ntohl().

Here is the caller graph for this function:

CpvStaticDeclare ( int  ,
_debugMsg   
)

CpvStaticDeclare ( int  ,
_debugChare   
)

CpvStaticDeclare ( CpdBpFuncTable_t ,
breakPointEntryTable   
)

CkpvStaticDeclare ( void *  ,
lastBreakPointObject   
)

CkpvStaticDeclare ( int  ,
lastBreakPointIndex   
)

static void _call_freeze_on_break_point ( void *  msg,
void *  object 
) [static]

Definition at line 785 of file debug-charm.C.

References EntryInfo::call, CkMessageToEpIdx(), CPD_BREAKPOINT, CpdFreeze(), CpdNotify(), and EntryInfo::name.

Referenced by CpdSetBreakPoint().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdContinueFromBreakPoint (  ) 

Definition at line 853 of file debug-charm.C.

References EntryInfo::call, and CpdUnFreeze().

Referenced by CpdCharmInit(), and CpdQuitDebug().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdSetBreakPoint ( char *  msg  ) 

Definition at line 874 of file debug-charm.C.

References _call_freeze_on_break_point(), _entryTable, CcsSendReply(), EntryInfo::msgIdx, and name.

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdQuitDebug (  ) 

Definition at line 916 of file debug-charm.C.

References CkExit(), and CpdContinueFromBreakPoint().

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdRemoveBreakPoint ( char *  msg  ) 

Definition at line 922 of file debug-charm.C.

References _entryTable, EntryInfo::call, CcsSendReply(), idx, EntryInfo::msgIdx, and EntryInfo::name.

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void CpdRemoveAllBreakPoints (  ) 

Definition at line 949 of file debug-charm.C.

References _entryTable, EntryInfo::call, CcsSendReply(), idx, EntryInfo::msgIdx, EntryInfo::name, and CkHashtableIterator::next().

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

int CpdIsCharmDebugMessage ( void *  msg  ) 

Definition at line 970 of file debug-charm.C.

References _charmHandlerIdx, _entryTable, FillVidMsg, ForVidMsg, envelope::getEpIdx(), and envelope::getMsgtype().

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

CpvExtern ( int  ,
_bgCcsHandlerIdx   
)

int CpdIsBgCharmDebugMessage ( void *  msg  ) 

Definition at line 979 of file debug-charm.C.

References _charmHandlerIdx, _entryTable, FillVidMsg, ForVidMsg, and envelope::getMsgtype().

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

CpvExtern ( char *  ,
displayArgument   
)

void CpdStartGdb ( void   ) 

Definition at line 996 of file debug-charm.C.

References CmiAbort(), CmiMyPe(), and CmiPrintf().

Referenced by CpdCharmInit().

Here is the call graph for this function:

Here is the caller graph for this function:

void cpd_memory_pup ( void *  ,
void *  ,
CpdListItemsRequest  
)

Referenced by cpd_memory_single_pup(), and CpdCharmInit().

Here is the caller graph for this function:

void cpd_memory_leak ( void *  ,
void *  ,
CpdListItemsRequest  
)

void cpd_memory_get ( void *  ,
void *  ,
CpdListItemsRequest  
)

Referenced by cpd_memory_single_pup(), and CpdCharmInit().

Here is the caller graph for this function:

void CpdCharmInit ( void   ) 

CpvExtern ( int  ,
_bgCcsAck   
)

void req_fw_handler ( char *   ) 

Definition at line 21 of file middle-ccs.C.

Referenced by CcsInit(), and CpdBgInit().

Here is the caller graph for this function:

CkpvExtern ( int  ,
freezeModeFlag   
)

void BgProcessMessageFreezeMode ( threadInfo *  ,
char *   
)

Definition at line 160 of file middle-ccs.C.

References CdsFifo_Dequeue(), CdsFifo_Empty(), CdsFifo_Enqueue(), and CpdIsDebugMessage.

Referenced by CpdBgInit().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 41 of file debug-charm.C.

Definition at line 61 of file debug-charm.C.

Definition at line 440 of file debug-charm.C.


Generated on Mon Sep 21 07:58:59 2020 for Charm++ by  doxygen 1.5.5