ATLAS Offline Software
|
Implementation of the CoreDumpSvc. More...
#include <ctime>
#include <cstdio>
#include <fcntl.h>
#include <errno.h>
#include <signal.h>
#include <time.h>
#include <sys/types.h>
#include <sys/sysinfo.h>
#include "CoreDumpSvc.h"
#include "TSystem.h"
#include "Gaudi/Property.h"
#include "GaudiKernel/IAlgorithm.h"
#include "GaudiKernel/IIncidentSvc.h"
#include "GaudiKernel/IAlgContextSvc.h"
#include "GaudiKernel/IAlgExecStateSvc.h"
#include "GaudiKernel/ServiceHandle.h"
#include "GaudiKernel/System.h"
#include "GaudiKernel/ConcurrencyFlags.h"
#include "GaudiKernel/EventContext.h"
#include "AthenaKernel/IAthenaSummarySvc.h"
#include "StoreGate/StoreGateSvc.h"
#include "CxxUtils/SealCommon.h"
#include "CxxUtils/SealSignal.h"
#include "CxxUtils/SealDebug.h"
#include "CxxUtils/read_athena_statm.h"
#include "CxxUtils/checker_macros.h"
Go to the source code of this file.
Namespaces | |
CoreDumpSvcHandler | |
Signal handler for CoreDumpSvc. | |
Typedefs | |
typedef std::map< int, struct sigaction > | CoreDumpSvcHandler::SigHandler_t |
Functions | |
bool | CoreDumpSvcHandler::callOldHandler (true) |
forward calls to old handlers? More... | |
bool | CoreDumpSvcHandler::dumpCoreFile (false) |
dump core file on exit? More... | |
bool | CoreDumpSvcHandler::stackTrace (false) |
produce stack trace? More... | |
bool | CoreDumpSvcHandler::fastStackTrace (false) |
produce fast stack trace using CxxUtils/Seal More... | |
CoreDumpSvc * | CoreDumpSvcHandler::coreDumpSvc (nullptr) |
pointer to CoreDumpSvc More... | |
std::ostream &log | CoreDumpSvcHandler::ATLAS_NOT_THREAD_SAFE () |
convenience method for logging More... | |
void action | CoreDumpSvcHandler::ATLAS_NOT_THREAD_SAFE (int sig, siginfo_t *info, void *extra) |
Signal handler for the CoreDumpSvc. More... | |
void CoreDumpSvc::print | ATLAS_NOT_THREAD_SAFE () |
Install fatal handler with default options. More... | |
Variables | |
SigHandler_t | CoreDumpSvcHandler::oldSigHandler |
old signal handlers More... | |
Implementation of the CoreDumpSvc.
Definition in file CoreDumpSvc.cxx.
void CoreDumpSvc::print ATLAS_NOT_THREAD_SAFE | ( | ) |
Install fatal handler with default options.
This is meant to be easy to call from python via ctypes.
Definition at line 378 of file CoreDumpSvc.cxx.