|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Class preventing 'core. More...
#include <BmnCoreDumpGuard.h>
Static Public Member Functions | |
| static bool | Install () |
| static bool | Uninstall () |
| static bool | IsInstalled () |
| static bool | Install () |
| static bool | Uninstall () |
| static bool | IsInstalled () |
Private Member Functions | |
| BmnCoreDumpGuard () | |
| ~BmnCoreDumpGuard () | |
| BmnCoreDumpGuard () | |
| ~BmnCoreDumpGuard () | |
Static Private Attributes | |
| static bool | fgIsInstalled = false |
*' dumps when a BmnRoot process is terminated by a fatal signal. The guard is installed automatically when the library is loaded, so no changes in the macros are required. It works regardless of the 'ulimit -c' value and of the /proc/sys/kernel/core_pattern setting, which makes it usable on the user machines as well as on the cluster nodes.
Definition at line 10 of file BmnCoreDumpGuard.h.
|
inlineprivate |
Definition at line 24 of file BmnCoreDumpGuard.h.
|
inlineprivate |
Definition at line 25 of file BmnCoreDumpGuard.h.
|
inlineprivate |
Definition at line 24 of file BmnCoreDumpGuard.h.
|
inlineprivate |
Definition at line 25 of file BmnCoreDumpGuard.h.
|
static |
Definition at line 80 of file BmnCoreDumpGuard.cxx.
References BmnFatalSignalHandler(), fgIsInstalled, gFatalSignalCount, gFatalSignals, gIsSignalGuarded, gPreviousActions, i, and memset().
|
static |
|
inlinestatic |
Definition at line 21 of file BmnCoreDumpGuard.h.
References fgIsInstalled.
|
inlinestatic |
Definition at line 21 of file BmnCoreDumpGuard.h.
References fgIsInstalled.
|
static |
Definition at line 118 of file BmnCoreDumpGuard.cxx.
References fgIsInstalled, gFatalSignalCount, gFatalSignals, gIsSignalGuarded, gPreviousActions, and i.
|
static |
|
staticprivate |
Definition at line 28 of file BmnCoreDumpGuard.h.
Referenced by Install(), IsInstalled(), and Uninstall().