Re: [PATCH 7/7] Add debug output when registering event handlers

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

 



On 12.12.2013 19:04, Daniel P. Berrange wrote:
> 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 aeee6d5..80b85bd 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;
> 

ACK

Michal

--
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]