ATLAS Offline Software
Control
PerformanceMonitoring
PerfMonGPerfTools
share
DisableCoreDumpSvc_postInclude.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2
3
# This posInclude fragment is used when setting up GPT profiling of an Athena job
4
# to turn off CoreDumpSvc. CoreDumpSvc hooks into certain signal events, which
5
# seems to interfere with GPerfTools and causes random crashes
6
#
7
8
from
AthenaCommon.AppMgr
import
ServiceMgr
as
svcMgr
9
if
hasattr(svcMgr,
'CoreDumpSvc'
):
10
# By default, CoreDumpSvc.cxx defines to catch
11
# all SIGSEGV, SIGBUS, SIGILL, SIGFPE events
12
# -> we need to unregister all signals
13
svcMgr.CoreDumpSvc.Signals = [ ]
Generated on Wed Jan 8 2025 21:09:01 for ATLAS Offline Software by
1.8.18