summaryrefslogtreecommitdiff
path: root/rts/Trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Trace.c')
-rw-r--r--rts/Trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Trace.c b/rts/Trace.c
index df5147ca05..7f314ba5d6 100644
--- a/rts/Trace.c
+++ b/rts/Trace.c
@@ -308,6 +308,7 @@ void traceCapsetEvent_ (EventTypeNum tag,
CapsetID capset,
StgWord info)
{
+#if 0
#ifdef DEBUG
if (RtsFlags.TraceFlags.tracing == TRACE_STDERR) {
ACQUIRE_LOCK(&trace_utx);
@@ -332,6 +333,7 @@ void traceCapsetEvent_ (EventTypeNum tag,
RELEASE_LOCK(&trace_utx);
} else
#endif
+#endif
{
if (eventlog_enabled) {
postCapsetEvent(tag, capset, info);