MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / pathTranslator_Restart

Function pathTranslator_Restart

src/plugin_pathtranslator.cpp:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80static void pathTranslator_Restart()
81{
82 pathTranslator_Init();
83 char *tmp = (char*) JALLOC_MALLOC(MAX_ENV_VAR_SIZE);
84 DmtcpGetRestartEnvErr_t ret = dmtcp_get_restart_env(ENV_PATH_MAPPING, tmp, MAX_ENV_VAR_SIZE);
85 if (ret == RESTART_ENV_SUCCESS) {
86 populatePathMapping(tmp);
87 }
88
89 JALLOC_FREE(tmp);
90}
91
92static void
93pathTranslator_PrepareForExec(DmtcpEventData_t *data)

Callers 1

pathTranslator_EventHookFunction · 0.85

Calls 3

pathTranslator_InitFunction · 0.85
dmtcp_get_restart_envFunction · 0.85
populatePathMappingFunction · 0.85

Tested by

no test coverage detected