diff options
author | Ben Lippmeier <benl@ouroborus.net> | 2011-07-22 15:37:13 +1000 |
---|---|---|
committer | Ben Lippmeier <benl@ouroborus.net> | 2011-07-22 15:37:13 +1000 |
commit | e06ffb5ea6d6383be63b61f6695501364fdcba1a (patch) | |
tree | 06d3772dfc1926813d14c23080e7b591055dbbf9 /rts/Trace.h | |
parent | e62439c47dff33593d18a69d651c3e9834989767 (diff) | |
download | haskell-e06ffb5ea6d6383be63b61f6695501364fdcba1a.tar.gz |
Fix build on OSX, thanks to David Peixotto
Diffstat (limited to 'rts/Trace.h')
-rw-r--r-- | rts/Trace.h | 2 |
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) |