[Libvir] [PATCH] If ./configure --enable-debug=yes, print libvirt calls

Daniel P. Berrange berrange at redhat.com
Wed Jul 11 16:06:31 UTC 2007


On Wed, Jul 11, 2007 at 12:02:26PM -0400, Daniel Veillard wrote:
> On Wed, Jul 11, 2007 at 04:36:23PM +0100, Richard W.M. Jones wrote:
> > This can prove useful if we want to track down problems like the 
> > double-call of domainSuspend.
> > 
> > Also attached below is the output of virt-manager when this tracing is 
> > enabled.
> > 
> > Note that if --enable-debug is not set, then no extra code is added to 
> > libvirt.
> 
>   I would like this, I have just one thing which worries me, it's the
> vararg macros, I'm not sure how widely it's supported outside of gcc ..

If it doesn't work on non-GCC, then those people can simply not add 
--enable-debug to their configure flags.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the libvir-list mailing list