[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]