[PATCH 6/6] Add debug output when registering event handlers

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

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
 src/conf/object_event.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/conf/object_event.c b/src/conf/object_event.c
index 964dccf..518fa1e 100644
--- a/src/conf/object_event.c
+++ b/src/conf/object_event.c
@@ -252,6 +252,11 @@ virObjectEventCallbackListAddID(virConnectPtr conn,
     size_t i;
     int ret = 0;
 
+    VIR_DEBUG("conn=%p cblist=%p uuid=%p name=%s id=%d "
+              "klass=%p eventID=%d callback=%p opaque=%p",
+              conn, cbList, uuid, name, id, klass, eventID,
+              callback, opaque);
+
     /* Check incoming */
     if (!cbList) {
         return -1;
-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]