[profiler] Update sample hit size calculation.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Wed, 12 Jul 2017 10:35:44 +0000 (12:35 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Fri, 14 Jul 2017 10:59:27 +0000 (12:59 +0200)
mono/profiler/log.c

index 9793f8392d851cfa69a0e0048ae5f0605919855a..b9a012ed63c4010c3af479672f0fc772f048b44d 100644 (file)
@@ -4371,7 +4371,6 @@ handle_dumper_queue_entry (MonoProfiler *prof)
 
                ENTER_LOG (&sample_hits_ctr, logbuffer,
                        EVENT_SIZE /* event */ +
-                       BYTE_SIZE /* type */ +
                        LEB128_SIZE /* tid */ +
                        LEB128_SIZE /* count */ +
                        1 * (