[Spice-devel] RFC: Lightweight tracing mechanism

Christophe Fergeau cfergeau at redhat.com
Tue Jun 6 13:47:07 UTC 2017


On Tue, Jun 06, 2017 at 03:17:07PM +0200, Christophe de Dinechin wrote:
> >> On 23 May 2017, at 11:51, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > 
> >> I think we have SPICE_DEBUG already which might make
> >> sense, another alternative would be to have a --enable-alignment-debug,
> >> or something like glib (SPICE_XXX_DEBUG=alignment:foo:bar)
> >> 
> 
> I did not find where the existing code does anything that would correspond to this
> SPICE_XXX_DEBUG=alignment:foo:bar (I did ask). Any pointer? In any case,
> what I saw in glib did not respond to my needs.

There is no code for doing that, I was suggesting _adding_ such a
facility, but since one of your requirements was not to add runtime
tests in the logging path, it's probably not an option.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170606/40b4242e/attachment.sig>


More information about the Spice-devel mailing list