zabbix-agent2/src/libs/zbxnix/sighandler.c
/******************************************************************************
 *                                                                            *
 * Function: metric_thread_signal_handler                                     *
 *                                                                            *
 * Purpose: same as fatal_signal_handler() but customized for metric thread - *
 *          does not log memory map                                           *
 *                                                                            *
 ******************************************************************************/
metric_thread_signal_handler

Purpose: same as fatal_signal_handler() but customized for metric thread -
does not log memory map
metric_thread_signal_handler Purpose : same as fatal_signal_handler () but customized for metric thread - does not log memory map
static void	metric_thread_signal_handler(int sig, siginfo_t *siginfo, void *context)
{
	log_fatal_signal(sig, siginfo, context);
	zbx_log_fatal_info(context, (ZBX_FATAL_LOG_PC_REG_SF | ZBX_FATAL_LOG_BACKTRACE));
	exit_with_failure();
}
static void metric_thread_signal_handler ( int sig , siginfo_t * siginfo , void * context ) { log_fatal_signal ( sig , siginfo , context ) ; zbx_log_fatal_info ( context , ( ZBX_FATAL_LOG_PC_REG_SF | ZBX_FATAL_LOG_BACKTRACE ) ) ; exit_with_failure ( ) ; }
Function: metric_thread_signal_handler                                     
                                                                            
 Purpose: same as fatal_signal_handler() but customized for metric thread - 
          does not log memory map
Function : metric_thread_signal_handler Purpose : same as fatal_signal_handler () but customized for metric thread - does not log memory map