cygwin_lock_lock strace output

Christopher Faylor me@cgf.cx
Fri Dec 10 16:27:00 GMT 2004


On Fri, Dec 10, 2004 at 05:19:45PM +0100, Corinna Vinschen wrote:
>Does anybody hate the
>
>  __cygwin_lock_unlock: threadcount 1.  not unlocking
>  __cygwin_lock_lock: threadcount 1.  not locking
>
>strace messages as much as I do?  Is it really necessary to print them
>all the time?

No, it's not necessary.  I used paranoid_printf there because I thought that
meant that the messages wouldn't be printed all of the time.

>To put it in other words, would it hurt people badly if we change the
>default strace mask so that the _STRACE_PARANOID flag isn't set anymore
>as in
>
>  if (!mask)
>    mask = _STRACE_ALL & ~_STRACE_PARANOID
>    
>?

What gets printed or not printed via the misnamed "all" is defined in
strace.h.  I just checked in a patch which should remove
paranoid_printf's from all output:

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2612&r2=1.2613
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/sys/strace.h.diff?cvsroot=src&r1=1.17&r2=1.18


cgf



More information about the Cygwin-developers mailing list