[libvirt] [PATCH] Include a thread identifier in log messages

Eric Blake eblake at redhat.com
Mon Nov 22 18:45:18 UTC 2010


On 11/22/2010 11:44 AM, Eric Blake wrote:
> On 11/22/2010 07:10 AM, Daniel P. Berrange wrote:
>> To allow messages from different threads to be untangled,
>> include an integer thread identifier in log messages.
>>
>> * src/util/logging.c: Include thread ID
>> * src/util/threads.h, src/util/threads.h, src/util/threads-pthread.c:
>>   Add new virThreadSelfID() function
>> * configure.ac: Check for sys/syscall.h
> 
> But I'm okay waiting for an actual bug report of this failing to do the
> right thing before we change this code.

Just so I'm clear:

ACK for applying as-is

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101122/34484c5e/attachment-0001.sig>


More information about the libvir-list mailing list