summaryrefslogtreecommitdiff
path: root/rts/Trace.h
diff options
context:
space:
mode:
authorBen Lippmeier <benl@ouroborus.net>2011-07-22 15:37:13 +1000
committerBen Lippmeier <benl@ouroborus.net>2011-07-22 15:37:13 +1000
commite06ffb5ea6d6383be63b61f6695501364fdcba1a (patch)
tree06d3772dfc1926813d14c23080e7b591055dbbf9 /rts/Trace.h
parente62439c47dff33593d18a69d651c3e9834989767 (diff)
downloadhaskell-e06ffb5ea6d6383be63b61f6695501364fdcba1a.tar.gz
Fix build on OSX, thanks to David Peixotto
Diffstat (limited to 'rts/Trace.h')
-rw-r--r--rts/Trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Trace.h b/rts/Trace.h
index 40a4522a26..f896c0e7a2 100644
--- a/rts/Trace.h
+++ b/rts/Trace.h
@@ -512,7 +512,6 @@ INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED)
if (RTS_UNLIKELY(TRACE_spark_sampled)) {
traceSparkCounters_(cap, cap->spark_stats, sparkPoolSize(cap->sparks));
}
-#endif
dtraceSparkCounters((EventCapNo)cap->no,
cap->spark_stats.created,
cap->spark_stats.dud,
@@ -521,6 +520,7 @@ INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED)
cap->spark_stats.gcd,
cap->spark_stats.fizzled,
sparkPoolSize(cap->sparks));
+#endif
}
INLINE_HEADER void traceEventSparkCreate(Capability *cap STG_UNUSED)