[profiler] Remove a FIXME that likely won't be addressed now.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 20 Jun 2017 00:09:10 +0000 (02:09 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 20 Jun 2017 03:39:09 +0000 (05:39 +0200)
mono/profiler/log.c

index a66133be9b38df822b43a378411b9019eb3cdd92..07b7603006ad46490f027f8bc51dda61c35c0c34 100644 (file)
@@ -1605,17 +1605,13 @@ collect_bt (FrameData *data)
 static void
 emit_bt (MonoProfiler *prof, LogBuffer *logbuffer, FrameData *data)
 {
-       /* FIXME: this is actually tons of data and we should
-        * just output it the first time and use an id the next
-        */
        if (data->count > num_frames)
                printf ("bad num frames: %d\n", data->count);
+
        emit_value (logbuffer, data->count);
-       //if (*p != data.count) {
-       //      printf ("bad num frames enc at %d: %d -> %d\n", count, data.count, *p); printf ("frames end: %p->%p\n", p, logbuffer->cursor); exit(0);}
-       while (data->count) {
+
+       while (data->count)
                emit_method (logbuffer, data->methods [--data->count]);
-       }
 }
 
 static void