Added trace log to event handling.

This commit is contained in:
vraatikka
2013-08-15 22:45:11 +03:00
parent a1b05359ac
commit 7c0ed171a0
2 changed files with 46 additions and 2 deletions

View File

@ -194,8 +194,19 @@ bool no_op = FALSE;
DCB *dcb = (DCB *)events[i].data.ptr;
__uint32_t ev = events[i].events;
skygw_log_write(
LOGFILE_TRACE,
"%lu [poll_waitevents] event %d",
tid,
ev);
if (DCB_ISZOMBIE(dcb))
continue;
{
skygw_log_write(
LOGFILE_TRACE,
"%lu [poll_waitevents] dcb is zombie",
tid);
continue;
}
if (ev & EPOLLERR)
{