Classes | |
class | ThreadTracker |
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 () |
static int | stackTracePause () |
static const ThreadTracker::Container_type & | threadIDs () |
Static Public Attributes | |
static std::atomic< std::size_t > | doneModules_ |
static std::vector< std::array< char, moduleBufferSize > > | moduleListBuffers_ |
static std::atomic< std::size_t > | nextModule_ |
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 } |
static int | stackTracePause_ = 300 |
static ThreadTracker | threadTracker_ |
Friends | |
int | cmssw_stacktrace (void *) |
Definition at line 65 of file InitRootHandlers.cc.
|
explicit |
Definition at line 777 of file InitRootHandlers.cc.
References autoLibraryLoader_, edm::TypeWithDict::byName(), cachePidInfo(), cachePidInfoHandler(), UEAnalysisJets_cfi::debugLevel, pyrootRender::destroy(), edm::ParameterSet::getUntrackedParameter(), edm::hasDictionary(), mps_fire::i, edm::installCustomHandler(), edm::service::SystemBounds::maxNumberOfThreads(), moduleListBuffers_, resetErrHandler_, edm::setRefCoreStreamer(), sigBusHandler_, sigIllHandler_, sigSegvHandler_, sigTermHandler_, stackTracePause_, unloadSigHandler_, edm::ActivityRegistry::watchPostForkReacquireResources(), and edm::ActivityRegistry::watchPreallocate().
|
virtual |
Definition at line 885 of file InitRootHandlers.cc.
References f, and MuonAssociatorByHits_cfi::obj.
|
private |
Definition at line 952 of file InitRootHandlers.cc.
References childToParent_, helperThread_, edm::errors::OtherCMS, parentToChild_, pidString_, pidStringLength_, and stacktraceHelperThread().
Referenced by cachePidInfoHandler(), and InitRootHandlers().
|
inlineprivate |
Definition at line 109 of file InitRootHandlers.cc.
References cachePidInfo(), helperThread_, and stacktraceHelperThread().
Referenced by InitRootHandlers().
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 942 of file InitRootHandlers.cc.
|
static |
Definition at line 914 of file InitRootHandlers.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), and edm::ParameterSetDescription::setComment().
|
staticprivate |
Definition at line 937 of file InitRootHandlers.cc.
References pstackArgv_.
Referenced by edm::service::cmssw_stacktrace().
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 947 of file InitRootHandlers.cc.
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 910 of file InitRootHandlers.cc.
|
static |
Definition at line 658 of file InitRootHandlers.cc.
References childToParent_, parentToChild_, and mps_fire::result.
|
staticprivate |
Definition at line 606 of file InitRootHandlers.cc.
References childToParent_, edm::service::cmssw_stacktrace_fork(), parentToChild_, and mps_fire::result.
Referenced by cachePidInfo(), and cachePidInfoHandler().
|
inlinestatic |
Definition at line 98 of file InitRootHandlers.cc.
References stackTracePause_.
|
inlinestatic |
Definition at line 97 of file InitRootHandlers.cc.
References edm::service::InitRootHandlers::ThreadTracker::IDs(), and threadTracker_.
|
overrideprivatevirtual |
|
friend |
Definition at line 719 of file InitRootHandlers.cc.
Referenced by edm::service::isProcessWideService().
|
private |
Definition at line 129 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
staticprivate |
Definition at line 121 of file InitRootHandlers.cc.
Referenced by cachePidInfo(), stacktraceFromThread(), and stacktraceHelperThread().
|
static |
Definition at line 101 of file InitRootHandlers.cc.
|
staticprivate |
Definition at line 122 of file InitRootHandlers.cc.
Referenced by cachePidInfo(), and cachePidInfoHandler().
|
private |
Definition at line 128 of file InitRootHandlers.cc.
|
static |
Definition at line 100 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
static |
Definition at line 101 of file InitRootHandlers.cc.
|
staticprivate |
Definition at line 120 of file InitRootHandlers.cc.
Referenced by cachePidInfo(), stacktraceFromThread(), and stacktraceHelperThread().
|
staticprivate |
Definition at line 118 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
staticprivate |
Definition at line 117 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
staticprivate |
Definition at line 119 of file InitRootHandlers.cc.
Referenced by getPstackArgv().
|
private |
Definition at line 127 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 130 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 132 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 131 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 133 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
staticprivate |
Definition at line 124 of file InitRootHandlers.cc.
Referenced by InitRootHandlers(), and stackTracePause().
|
staticprivate |
Definition at line 123 of file InitRootHandlers.cc.
Referenced by threadIDs().
|
private |
Definition at line 126 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().