X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fsm%2FGC.c;h=3bd50171c3e16149131ad996fcb09140681c396f;hb=0884a2cb09cd5f609b6163a225ca3b8cce942250;hp=63023b6d93c97bb2fa8e01546888373446c56f7e;hpb=4207605cc8e035e05f651334ef1be90b098d305d;p=ghc-hetmet.git diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 63023b6..3bd5017 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -1008,7 +1008,7 @@ scavenge_until_all_done (void) loop: - traceEvent(&capabilities[gct->thread_index], EVENT_GC_WORK); + traceEventGcWork(&capabilities[gct->thread_index]); #if defined(THREADED_RTS) if (n_gc_threads > 1) { @@ -1023,7 +1023,7 @@ loop: // scavenge_loop() only exits when there's no work to do r = dec_running(); - traceEvent(&capabilities[gct->thread_index], EVENT_GC_IDLE); + traceEventGcIdle(&capabilities[gct->thread_index]); debugTrace(DEBUG_gc, "%d GC threads still running", r); @@ -1039,7 +1039,7 @@ loop: // scavenge_loop() to perform any pending work. } - traceEvent(&capabilities[gct->thread_index], EVENT_GC_DONE); + traceEventGcDone(&capabilities[gct->thread_index]); } #if defined(THREADED_RTS)