Classes | |
class | ThreadTracker |
Public Member Functions | |
InitRootHandlers (ParameterSet const &pset, ActivityRegistry &iReg) | |
~InitRootHandlers () override | |
Public Member Functions inherited from edm::RootHandlers | |
template<typename F > | |
void | ignoreWarningsWhileDoing (F iFunc, SeverityLevel level=SeverityLevel::kWarning) |
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 | enableWarnings_ () override |
void | ignoreWarnings_ (edm::RootHandlers::SeverityLevel level) override |
void | willBeUsingThreads () override |
Static Private Member Functions | |
static char const *const * | getPstackArgv () |
static void | stacktraceHelperThread () |
Private Attributes | |
bool | autoClassParser_ |
bool | autoLibraryLoader_ |
bool | interactiveDebug_ |
bool | loadAllDictionaries_ |
bool | resetErrHandler_ |
std::shared_ptr< const void > | sigAbrtHandler_ |
std::shared_ptr< const void > | sigBusHandler_ |
std::shared_ptr< const void > | sigFpeHandler_ |
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 constexpr int | pidStringLength_ = 200 |
static char const *const | pstackArgv_ [] = {pstackName, dashC, InitRootHandlers::pidString_, nullptr} |
static int | stackTracePause_ = 300 |
static std::unique_ptr< ThreadTracker > | threadTracker_ |
Friends | |
int | cmssw_stacktrace (void *) |
Additional Inherited Members | |
Public Types inherited from edm::RootHandlers | |
enum | SeverityLevel { SeverityLevel::kInfo, SeverityLevel::kWarning, SeverityLevel::kError, SeverityLevel::kSysError, SeverityLevel::kFatal } |
Definition at line 69 of file InitRootHandlers.cc.
|
explicit |
Definition at line 771 of file InitRootHandlers.cc.
References autoClassParser_, autoLibraryLoader_, edm::TypeWithDict::byName(), cachePidInfo(), HLT_2024v12_cff::debugLevel, edm::hasDictionary(), edm::installCustomHandler(), edm::service::SystemBounds::maxNumberOfThreads(), moduleListBuffers_, muonDTDigis_cfi::pset, resetErrHandler_, edm::setRefCoreStreamerInTClass(), sigAbrtHandler_, sigBusHandler_, sigFpeHandler_, sigIllHandler_, sigSegvHandler_, watchdog::SIGTERM, sigTermHandler_, stackTracePause_, threadTracker_, unloadSigHandler_, trackerHitRTTI::vector, edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostModuleConstruction(), edm::ActivityRegistry::watchPreallocate(), and edm::ActivityRegistry::watchPreModuleConstruction().
|
override |
Definition at line 880 of file InitRootHandlers.cc.
References f, getGTfromDQMFile::obj, and threadTracker_.
|
private |
Definition at line 946 of file InitRootHandlers.cc.
References childToParent_, helperThread_, interactiveDebug_, edm::errors::OtherCMS, parentToChild_, pidString_, pidStringLength_, stacktraceHelperThread(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by InitRootHandlers().
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 942 of file InitRootHandlers.cc.
References edm::RootHandlers::kInfo.
|
static |
Definition at line 908 of file InitRootHandlers.cc.
References edm::ConfigurationDescriptions::add(), and submitPVResolutionJobs::desc.
|
staticprivate |
Definition at line 940 of file InitRootHandlers.cc.
References pstackArgv_.
Referenced by edm::service::cmssw_stacktrace().
|
overrideprivatevirtual |
Implements edm::RootHandlers.
Definition at line 944 of file InitRootHandlers.cc.
References personalPlayback::level.
|
static |
Definition at line 690 of file InitRootHandlers.cc.
References visDQMUpload::buf, childToParent_, parentToChild_, and mps_fire::result.
|
staticprivate |
Definition at line 647 of file InitRootHandlers.cc.
References visDQMUpload::buf, childToParent_, edm::service::cmssw_stacktrace_fork(), parentToChild_, and mps_fire::result.
Referenced by cachePidInfo().
|
inlinestatic |
Definition at line 108 of file InitRootHandlers.cc.
References stackTracePause_.
|
inlinestatic |
Definition at line 101 of file InitRootHandlers.cc.
References relativeConstraints::empty, and threadTracker_.
|
overrideprivatevirtual |
|
friend |
Definition at line 743 of file InitRootHandlers.cc.
|
private |
Definition at line 135 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 134 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
staticprivate |
Definition at line 126 of file InitRootHandlers.cc.
Referenced by cachePidInfo(), stacktraceFromThread(), and stacktraceHelperThread().
|
static |
Definition at line 111 of file InitRootHandlers.cc.
|
staticprivate |
Definition at line 127 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
private |
Definition at line 136 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
private |
Definition at line 133 of file InitRootHandlers.cc.
|
static |
Definition at line 110 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
static |
Definition at line 111 of file InitRootHandlers.cc.
|
staticprivate |
Definition at line 125 of file InitRootHandlers.cc.
Referenced by cachePidInfo(), stacktraceFromThread(), and stacktraceHelperThread().
|
staticprivate |
Definition at line 123 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
staticprivate |
Definition at line 122 of file InitRootHandlers.cc.
Referenced by cachePidInfo().
|
staticprivate |
Definition at line 124 of file InitRootHandlers.cc.
Referenced by getPstackArgv().
|
private |
Definition at line 132 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 141 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 137 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 142 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 139 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 138 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
private |
Definition at line 140 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().
|
staticprivate |
Definition at line 129 of file InitRootHandlers.cc.
Referenced by InitRootHandlers(), and stackTracePause().
|
staticprivate |
Definition at line 128 of file InitRootHandlers.cc.
Referenced by InitRootHandlers(), threadIDs(), and ~InitRootHandlers().
|
private |
Definition at line 131 of file InitRootHandlers.cc.
Referenced by InitRootHandlers().