mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-27 09:46:28 +00:00
lib: handle SIGSEGV similarly to other error signals
Signed-off-by: Imre Deak <imre.deak@intel.com>
This commit is contained in:
parent
9cbbce148f
commit
e55b89f1c3
@ -1446,7 +1446,7 @@ static int exit_handler_count;
|
|||||||
static bool exit_handler_disabled;
|
static bool exit_handler_disabled;
|
||||||
static sigset_t saved_sig_mask;
|
static sigset_t saved_sig_mask;
|
||||||
static const int handled_signals[] =
|
static const int handled_signals[] =
|
||||||
{ SIGINT, SIGHUP, SIGTERM, SIGQUIT, SIGPIPE, SIGABRT };
|
{ SIGINT, SIGHUP, SIGTERM, SIGQUIT, SIGPIPE, SIGABRT, SIGSEGV };
|
||||||
|
|
||||||
static int install_sig_handler(int sig_num, sighandler_t handler)
|
static int install_sig_handler(int sig_num, sighandler_t handler)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user