From: Krisztian Litkey Date: Thu, 30 Oct 2014 23:59:10 +0000 (+0200) Subject: common: add debug printout for epoll. X-Git-Tag: v0.0.63^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fea27105510cbb53ac557f83e40744b292847112;p=profile%2Fivi%2Fmurphy.git common: add debug printout for epoll. --- diff --git a/src/common/mainloop.c b/src/common/mainloop.c index b54c5e9..8f225bd 100644 --- a/src/common/mainloop.c +++ b/src/common/mainloop.c @@ -1815,6 +1815,9 @@ int mrp_mainloop_poll(mrp_mainloop_t *ml, int may_block) if (ml->nevent > 0) { if (ml->super_ops == NULL || ml->super_ops->poll_io == NULL) { + mrp_debug("polling %d descriptors with timeout %d", + ml->nevent, timeout); + n = epoll_wait(ml->epollfd, ml->events, ml->nevent, timeout); if (n < 0 && errno == EINTR)