[profiler] Ensure that buffer size is adjusted to whatever an event actually needs.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 20 Jun 2017 00:01:03 +0000 (02:01 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 20 Jun 2017 03:39:07 +0000 (05:39 +0200)
commit1ebb4e4cbd610b7186958fcd9920aa846e3fe877
tree29f0dcc8a4b69fae65be60fc5b8044254223dce8
parent1448821251c52b00a720368dbd5779d37a33467f
[profiler] Ensure that buffer size is adjusted to whatever an event actually needs.

Very large events could previously result in potential overflows because
buffers always had the same size (BUFFER_SIZE, 64k).
mono/profiler/log.c