Go to the source code of this file.
Data Structures | |
class | CtgGlobalList |
Keeps a list of global variables. More... | |
struct | CtgGlobalList::CtgRec |
struct | CtgGlobalStruct |
Typedefs | |
typedef Elf64_Addr | ELFXX_TYPE_Addr |
typedef Elf64_Dyn | ELFXX_TYPE_Dyn |
typedef Elf64_Rela | ELFXX_TYPE_Rel |
typedef Elf64_Sym | ELFXX_TYPE_Sym |
Functions | |
CpvDeclare (int, CmiPICMethod) | |
static void | readBlacklist () |
int | match (const char *string, const char *pattern) |
CpvStaticDeclare (CtgGlobals, _curCtg) | |
void | CtgInit (void) |
Initialize the globals support (called on each processor). | |
CtgGlobals | CtgCreate (CthThread tid) |
Copy the current globals into this new set. | |
CtgGlobals | CtgPup (pup_er pv, CtgGlobals g) |
PUP this (not currently installed) globals set. | |
void | CtgInstall (CtgGlobals g) |
Install this set of globals. | |
void | CtgFree (CtgGlobals g) |
Delete this (not currently installed) set of globals. | |
CtgGlobals | CtgCurrentGlobals (void) |
Return the current global list. | |
Variables | |
ELFXX_TYPE_Dyn | _DYNAMIC [] |
std::vector< char * > | _blacklist |
Method to read blacklist of variables that should not be identified as global variables. | |
static bool | loaded = false |
int | quietModeRequested |
static CtgGlobalList * | _ctgList = NULL |
Singleton object describing our global variables:. | |
static CtgGlobalStruct * | _ctgListGlobals = NULL |
Singleton object describing the original values for the globals. |
typedef Elf32_Addr ELFXX_TYPE_Addr |
Definition at line 85 of file global-elfgot.C.
typedef Elf32_Dyn ELFXX_TYPE_Dyn |
Definition at line 86 of file global-elfgot.C.
typedef Elf32_Rel ELFXX_TYPE_Rel |
Definition at line 87 of file global-elfgot.C.
typedef Elf32_Sym ELFXX_TYPE_Sym |
Definition at line 88 of file global-elfgot.C.
CpvDeclare | ( | int | , | |
CmiPICMethod | ||||
) |
static void readBlacklist | ( | ) | [static] |
Definition at line 120 of file global-elfgot.C.
References _blacklist, CmiAbort(), CmiMyPe(), CmiPrintf(), xi::fname, loaded, name, quietModeRequested, and strdup().
Referenced by CtgInit().
int match | ( | const char * | string, | |
const char * | pattern | |||
) |
Definition at line 191 of file global-elfgot.C.
References CmiAbort(), REG_NOMATCH, regcomp(), regexec(), regfree(), and status.
Referenced by check_matching(), findFirstCaptures(), controlPointManager::generatePlan(), CtgGlobalList::isUserSymbol(), LZ4_compress_generic(), LZ4_decompress_generic(), Match_RM(), Match_SHEM(), TraceCounter::matchArg(), and removeProcessedLogs().
CpvStaticDeclare | ( | CtgGlobals | , | |
_curCtg | ||||
) |
void CtgInit | ( | void | ) |
Initialize the globals support (called on each processor).
Definition at line 426 of file global-elfgot.C.
References CtgGlobalStruct::allocate(), CmiMyPe(), CmiPrintf(), CtgGlobalStruct::data_seg, CtgGlobalList::getSize(), CtgGlobalList::install(), PUP::l, quietModeRequested, CtgGlobalList::read(), and readBlacklist().
CtgGlobals CtgCreate | ( | CthThread | tid | ) |
Copy the current globals into this new set.
Definition at line 455 of file global-elfgot.C.
References CtgGlobalStruct::allocate(), CtgGlobalStruct::data_seg, CtgGlobalList::getSize(), and CtgGlobalList::read().
CtgGlobals CtgPup | ( | pup_er | pv, | |
CtgGlobals | g | |||
) |
PUP this (not currently installed) globals set.
Definition at line 462 of file global-elfgot.C.
References CmiAbort(), CtgGlobalList::getSize(), CtgGlobalStruct::installed, PUP::er::isUnpacking(), p, CtgGlobalStruct::pup(), and CtgGlobalStruct::seg_size.
void CtgInstall | ( | CtgGlobals | g | ) |
Install this set of globals.
If g==NULL, returns to original globals.
Definition at line 474 of file global-elfgot.C.
References CtgGlobalStruct::data_seg, CtgGlobalList::install(), and CtgGlobalStruct::installed.
void CtgFree | ( | CtgGlobals | g | ) |
Delete this (not currently installed) set of globals.
Definition at line 486 of file global-elfgot.C.
References CmiAbort(), and CtgGlobalStruct::installed.
CtgGlobals CtgCurrentGlobals | ( | void | ) |
Referenced by CtgGlobalList::CtgGlobalList().
std::vector<char *> _blacklist |
Method to read blacklist of variables that should not be identified as global variables.
Definition at line 116 of file global-elfgot.C.
Referenced by CtgGlobalList::isUserSymbol(), and readBlacklist().
CtgGlobalList* _ctgList = NULL [static] |
CtgGlobalStruct* _ctgListGlobals = NULL [static] |
Singleton object describing the original values for the globals.
Definition at line 423 of file global-elfgot.C.