diff options
author | Ben Gamari <ben@smart-cactus.org> | 2023-05-14 10:49:16 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2023-05-14 10:49:41 -0400 |
commit | 762ae30b5f30df6a6c432305cb9d114c4fa6e4a4 (patch) | |
tree | bace79b9b452dd5eede3b2b7460e2e394b88edd3 | |
parent | 654a33208ec81c957c6443ddc17bd600c39f3979 (diff) | |
download | haskell-wip/exception-context.tar.gz |
rts: Don't dump IPE entries on startup with DEBUG rtswip/exception-context
-rw-r--r-- | rts/Trace.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/rts/Trace.c b/rts/Trace.c index 77e3bf0bd9..870bc079b0 100644 --- a/rts/Trace.c +++ b/rts/Trace.c @@ -684,18 +684,6 @@ void traceHeapProfSampleString(StgWord8 profile_id, void traceIPE(const InfoProvEnt *ipe) { -#if defined(DEBUG) - if (RtsFlags.TraceFlags.tracing == TRACE_STDERR) { - ACQUIRE_LOCK(&trace_utx); - - tracePreface(); - debugBelch("IPE: table_name %s, closure_desc %s, ty_desc %s, label %s, module %s, srcloc %s:%s\n", - ipe->prov.table_name, ipe->prov.closure_desc, ipe->prov.ty_desc, - ipe->prov.label, ipe->prov.module, ipe->prov.src_file, ipe->prov.src_span); - - RELEASE_LOCK(&trace_utx); - } else -#endif if (eventlog_enabled) { postIPE(ipe); } |