summaryrefslogtreecommitdiff
path: root/rts/ProfHeap.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r--rts/ProfHeap.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c
index 77e0e6962a..c35b4bae4e 100644
--- a/rts/ProfHeap.c
+++ b/rts/ProfHeap.c
@@ -341,18 +341,6 @@ printSample(bool beginSample, StgDouble sampleValue)
}
}
-static void
-dumpCostCentresToEventLog(void)
-{
-#if defined(PROFILING)
- CostCentre *cc, *next;
- for (cc = CC_LIST; cc != NULL; cc = next) {
- next = cc->link;
- traceHeapProfCostCentre(cc->ccID, cc->label, cc->module,
- cc->srcloc, cc->is_caf);
- }
-#endif
-}
void freeHeapProfiling (void)
{
@@ -466,7 +454,6 @@ initHeapProfiling(void)
#endif
traceHeapProfBegin(0);
- dumpCostCentresToEventLog();
}
void