[libvirt] [libvirt-glib 2/5] mainloop: add missing debug message

Christophe Fergeau cfergeau at redhat.com
Wed Jun 20 10:29:48 UTC 2012


All timeout and watch additions/updates/removals are logged except
successful watch updates. This commit adds such a log message.
---
 libvirt-glib/libvirt-glib-event.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libvirt-glib/libvirt-glib-event.c b/libvirt-glib/libvirt-glib-event.c
index f09d6c8..c720c1f 100644
--- a/libvirt-glib/libvirt-glib-event.c
+++ b/libvirt-glib/libvirt-glib-event.c
@@ -219,6 +219,8 @@ gvir_event_handle_update(int watch,
         goto cleanup;
     }
 
+    g_debug("Update handle %p %d %d %d\n", data, watch, data->fd, events);
+
     if (events) {
         GIOCondition cond = 0;
         if (events == data->events)
-- 
1.7.10.2




More information about the libvir-list mailing list