zabbix-agent2/src/zabbix_server/rtc.c
/******************************************************************************
 *                                                                            *
 * Function: rtc_diaginfo                                                     *
 *                                                                            *
 * Purpose: process diaginfo runtime command                                  *
 *                                                                            *
 ******************************************************************************/
rtc_diaginfo

Purpose: process diaginfo runtime command
rtc_diaginfo Purpose : process diaginfo runtime command
static void	rtc_diaginfo(int scope)
{
	unsigned int	flags;
	if (ZBX_DIAGINFO_ALL == scope)
	{
		flags = (1 << ZBX_DIAGINFO_HISTORYCACHE) | (1 << ZBX_DIAGINFO_VALUECACHE) |
				(1 << ZBX_DIAGINFO_PREPROCESSING) | (1 << ZBX_DIAGINFO_LLD) |
				(1 << ZBX_DIAGINFO_ALERTING) | 	(1 << ZBX_DIAGINFO_LOCKS);
	}
	else
		flags = 1u << scope;
	zbx_diag_log_info(flags);
}
static void rtc_diaginfo ( int scope ) { unsigned int flags ; if ( ZBX_DIAGINFO_ALL == scope ) { flags = ( 1 << ZBX_DIAGINFO_HISTORYCACHE ) | ( 1 << ZBX_DIAGINFO_VALUECACHE ) | ( 1 << ZBX_DIAGINFO_PREPROCESSING ) | ( 1 << ZBX_DIAGINFO_LLD ) | ( 1 << ZBX_DIAGINFO_ALERTING ) | ( 1 << ZBX_DIAGINFO_LOCKS ) ; } else flags = 1u << scope ; zbx_diag_log_info ( flags ) ; }
Function: rtc_diaginfo                                                     
                                                                            
 Purpose: process diaginfo runtime command
Function : rtc_diaginfo Purpose : process diaginfo runtime command