#include <InitRootHandlers.h>
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_ |
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 17 of file InitRootHandlers.h.
|
explicit |
Definition at line 491 of file InitRootHandlers.cc.
References autoLibraryLoader_, edm::TypeWithDict::byName(), cachePidInfo(), cachePidInfoHandler(), HLT_25ns14e33_v3_cff::debugLevel, edm::ParameterSet::getUntrackedParameter(), edm::hasDictionary(), edm::installCustomHandler(), resetErrHandler_, edm::setRefCoreStreamer(), sigBusHandler_, sigIllHandler_, sigSegvHandler_, unloadSigHandler_, and edm::ActivityRegistry::watchPostForkReacquireResources().
|
virtual |
|
private |
Definition at line 627 of file InitRootHandlers.cc.
References childToParent_, helperThread_, edm::errors::OtherCMS, parentToChild_, pidString_, pidStringLength_, and stacktraceHelperThread().
Referenced by cachePidInfoHandler(), and InitRootHandlers().
|
inlineprivate |
Definition at line 35 of file InitRootHandlers.h.
References cachePidInfo().
Referenced by InitRootHandlers().
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 617 of file InitRootHandlers.cc.
|
static |
Definition at line 593 of file InitRootHandlers.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), and edm::ParameterSetDescription::setComment().
|
staticprivate |
Definition at line 612 of file InitRootHandlers.cc.
References pstackArgv_.
Referenced by edm::service::cmssw_stacktrace().
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 622 of file InitRootHandlers.cc.
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 589 of file InitRootHandlers.cc.
|
static |
Definition at line 407 of file InitRootHandlers.cc.
References childToParent_, parentToChild_, and query::result.
|
staticprivate |
Definition at line 356 of file InitRootHandlers.cc.
References childToParent_, edm::service::cmssw_stacktrace_fork(), parentToChild_, and query::result.
Referenced by cachePidInfo().
|
overrideprivatevirtual |
|
friend |
|
private |
Definition at line 48 of file InitRootHandlers.h.
Referenced by InitRootHandlers().
|
staticprivate |
Definition at line 43 of file InitRootHandlers.h.
Referenced by cachePidInfo(), stacktraceFromThread(), and stacktraceHelperThread().
|
staticprivate |
Definition at line 44 of file InitRootHandlers.h.
Referenced by cachePidInfo().
|
private |
Definition at line 47 of file InitRootHandlers.h.
|
staticprivate |
Definition at line 42 of file InitRootHandlers.h.
Referenced by cachePidInfo(), stacktraceFromThread(), and stacktraceHelperThread().
|
staticprivate |
Definition at line 40 of file InitRootHandlers.h.
Referenced by cachePidInfo().
|
staticprivate |
Definition at line 39 of file InitRootHandlers.h.
Referenced by cachePidInfo().
|
staticprivate |
Definition at line 41 of file InitRootHandlers.h.
Referenced by getPstackArgv().
|
private |
Definition at line 46 of file InitRootHandlers.h.
Referenced by InitRootHandlers().
|
private |
Definition at line 49 of file InitRootHandlers.h.
Referenced by InitRootHandlers().
|
private |
Definition at line 51 of file InitRootHandlers.h.
Referenced by InitRootHandlers().
|
private |
Definition at line 50 of file InitRootHandlers.h.
Referenced by InitRootHandlers().
|
private |
Definition at line 45 of file InitRootHandlers.h.
Referenced by InitRootHandlers().