[Mono-dev] [PATCH] unify thread id format in trace

Zoltan Varga vargaz at gmail.com
Fri Aug 20 06:38:47 EDT 2010


Looks ok.

           Zoltan

On Fri, Aug 20, 2010 at 8:38 AM, Atsushi Eno <
atsushieno at veritas-vos-liberabit.com> wrote:

>  Hello,
>
> This tiny patch unifies the format of thread IDs in our stack traces.
> That is, they used to look like this:
>
> [000016D8: 2.11659 1] LEAVE: (wrapper remoting-invoke-with-check)
> System.Net.HttpWebRequest:get_Aborted ()FALSE
> [000016d8:] EXCEPTION handling: System.Net.Sockets.SocketException
>
> After the patch, they would look like:
>
> [000016D8: 2.11659 1] LEAVE: (wrapper remoting-invoke-with-check)
> System.Net.HttpWebRequest:get_Aborted ()FALSE
> [000016D8:] EXCEPTION handling: System.Net.Sockets.SocketException
>
> The patch actually just changes g_print() with printf(), which seem to have
> different hexadecimal formatting (upper/lower).
> I felt a bit awkward to bring printf() than g_print(), but printf() is used
> a lot in trace.c so I took easier path.
>
> Atsushi Eno
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100820/3ecf33be/attachment.html 


More information about the Mono-devel-list mailing list