Fix regression in thread name reporting in the profiler.
authorPaolo Molaro <lupus@oddwiz.org>
Tue, 29 Apr 2014 15:25:16 +0000 (17:25 +0200)
committerPaolo Molaro <lupus@oddwiz.org>
Tue, 29 Apr 2014 15:25:16 +0000 (17:25 +0200)
commit1dbd5e22fa7f7922ffc448a10bee2fb219fca154
treefc4e072946fcedd30e181999a672a8b930a43486
parentaa181455bb318523dbd0cf78d60275314bb24308
Fix regression in thread name reporting in the profiler.

metadata/threads.c: fix regression from the 695b17f8d5967c7 change and
avoid useless memory allocation. Report thread name to the profiler at
thread startup if it was set before that.
profiler/decode.c: fix typo.
profiler/proflog.c: ensure we get a consistent first buffer header at runtime
initialization.
mono/metadata/threads.c
mono/profiler/decode.c
mono/profiler/proflog.c