Public Member Functions | |
InitRootHandlers (ParameterSet const &pset, ActivityRegistry &iReg) | |
virtual | ~InitRootHandlers () |
Public Member Functions inherited from edm::RootHandlers | |
template<typename F > | |
void | ignoreWarningsWhileDoing (F iFunc) |
RootHandlers () | |
virtual | ~RootHandlers () |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | stacktraceFromThread () |
Private Member Functions | |
void | cachePidInfo () |
void | cachePidInfoHandler (unsigned int, unsigned int) |
virtual void | enableWarnings_ () override |
virtual void | ignoreWarnings_ () override |
virtual void | initializeThisThreadForUse () override |
virtual void | willBeUsingThreads () override |
Static Private Member Functions | |
static char *const * | getPstackArgv () |
static void | stacktraceHelperThread () |
Private Attributes | |
bool | autoLibraryLoader_ |
bool | loadAllDictionaries_ |
bool | resetErrHandler_ |
std::shared_ptr< const void > | sigBusHandler_ |
std::shared_ptr< const void > | sigIllHandler_ |
std::shared_ptr< const void > | sigSegvHandler_ |
std::shared_ptr< const void > | sigTermHandler_ |
bool | unloadSigHandler_ |
Static Private Attributes | |
static int | childToParent_ [2] = {-1, -1} |
static std::unique_ptr < std::thread > | helperThread_ |
static int | parentToChild_ [2] = {-1, -1} |
static char | pidString_ [pidStringLength_] = {} |
static const int | pidStringLength_ = 200 |
static char *const | pstackArgv_ [] = {pstackName, dashC, InitRootHandlers::pidString_, 0 } |
Friends | |
int | cmssw_stacktrace (void *) |
Definition at line 51 of file InitRootHandlers.cc.
|
explicit |
Definition at line 559 of file InitRootHandlers.cc.
References autoLibraryLoader_, edm::TypeWithDict::byName(), cachePidInfo(), cachePidInfoHandler(), HLT_25ns10e33_v2_cff::debugLevel, edm::ParameterSet::getUntrackedParameter(), edm::hasDictionary(), edm::installCustomHandler(), resetErrHandler_, edm::setRefCoreStreamer(), sigBusHandler_, sigIllHandler_, sigSegvHandler_, sigTermHandler_, unloadSigHandler_, and edm::ActivityRegistry::watchPostForkReacquireResources().
|
virtual |
|
private |
Definition at line 699 of file InitRootHandlers.cc.
References childToParent_, helperThread_, edm::errors::OtherCMS, parentToChild_, pidString_, pidStringLength_, and stacktraceHelperThread().
Referenced by cachePidInfoHandler(), and InitRootHandlers().
|
inlineprivate |
Definition at line 69 of file InitRootHandlers.cc.
References cachePidInfo().
Referenced by InitRootHandlers().
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 689 of file InitRootHandlers.cc.
|
static |
Definition at line 665 of file InitRootHandlers.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), and edm::ParameterSetDescription::setComment().
|
staticprivate |
Definition at line 684 of file InitRootHandlers.cc.
References pstackArgv_.
Referenced by edm::service::cmssw_stacktrace().
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 694 of file InitRootHandlers.cc.
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 661 of file InitRootHandlers.cc.
|
static |
Definition at line 475 of file InitRootHandlers.cc.
References childToParent_, parentToChild_, and mps_fire::result.
|
staticprivate |
Definition at line 424 of file InitRootHandlers.cc.
References childToParent_, edm::service::cmssw_stacktrace_fork(), parentToChild_, and mps_fire::result.
Referenced by cachePidInfo().
|
overrideprivatevirtual |
|
friend |
|
private |
Definition at line 82 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
staticprivate |
Definition at line 77 of file InitRootHandlers.cc.
Referenced by cachePidInfo(), stacktraceFromThread(), and stacktraceHelperThread().
|
staticprivate |
Definition at line 78 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
private |
Definition at line 81 of file InitRootHandlers.cc.
|
staticprivate |
Definition at line 76 of file InitRootHandlers.cc.
Referenced by cachePidInfo(), stacktraceFromThread(), and stacktraceHelperThread().
|
staticprivate |
Definition at line 74 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
staticprivate |
Definition at line 73 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
staticprivate |
Definition at line 75 of file InitRootHandlers.cc.
Referenced by getPstackArgv().
|
private |
Definition at line 80 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 83 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 85 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 84 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 86 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 79 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().