Commit e06ffb5e authored by benl's avatar benl
Browse files

Fix build on OSX, thanks to David Peixotto

parent e62439c4
...@@ -512,7 +512,6 @@ INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED) ...@@ -512,7 +512,6 @@ INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED)
if (RTS_UNLIKELY(TRACE_spark_sampled)) { if (RTS_UNLIKELY(TRACE_spark_sampled)) {
traceSparkCounters_(cap, cap->spark_stats, sparkPoolSize(cap->sparks)); traceSparkCounters_(cap, cap->spark_stats, sparkPoolSize(cap->sparks));
} }
#endif
dtraceSparkCounters((EventCapNo)cap->no, dtraceSparkCounters((EventCapNo)cap->no,
cap->spark_stats.created, cap->spark_stats.created,
cap->spark_stats.dud, cap->spark_stats.dud,
...@@ -521,6 +520,7 @@ INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED) ...@@ -521,6 +520,7 @@ INLINE_HEADER void traceSparkCounters(Capability *cap STG_UNUSED)
cap->spark_stats.gcd, cap->spark_stats.gcd,
cap->spark_stats.fizzled, cap->spark_stats.fizzled,
sparkPoolSize(cap->sparks)); sparkPoolSize(cap->sparks));
#endif
} }
INLINE_HEADER void traceEventSparkCreate(Capability *cap STG_UNUSED) INLINE_HEADER void traceEventSparkCreate(Capability *cap STG_UNUSED)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment