提交 ef19b3e3 编写于 作者: D Daniel P. Berrange

Add debug output when registering event handlers

Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 dbcc38da
......@@ -255,6 +255,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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册