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

Method postExec

src/processinfo.cpp:439–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439void
440ProcessInfo::postExec()
441{
442 string procSelfExeStr = jalib::Filesystem::ResolveSymlink("/proc/self/exe");
443 strncpy(procSelfExe, procSelfExeStr.c_str(), sizeof(procSelfExe) - 1);
444
445 strncpy(procname, jalib::Filesystem::GetProgramName().c_str(), sizeof(procname) -1);
446
447 upid = UniquePid::ThisProcess();
448 uppid = UniquePid::ParentProcess();
449 updateCkptDirFileSubdir();
450}
451
452void
453ProcessInfo::resetOnFork()

Callers 1

processInfo_EventHookFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected