summaryrefslogtreecommitdiff
path: root/rts/eventlog
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2020-11-18 11:23:00 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2021-03-03 19:09:34 +0000
commit8402ea951b31e01a925ca691747d1757eaf31fcc (patch)
tree674d19535ff5bbd3c31ae723e62b148f240f4bb1 /rts/eventlog
parent2f7e879bd993b61d26db999246b34c1096d0f70e (diff)
downloadhaskell-8402ea951b31e01a925ca691747d1757eaf31fcc.tar.gz
Profiling by info table mode (-hi)
This profiling mode creates bands by the address of the info table for each closure. This provides a much more fine-grained profiling output than any of the other profiling modes. The `-hi` profiling mode does not require a profiling build.
Diffstat (limited to 'rts/eventlog')
-rw-r--r--rts/eventlog/EventLog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c
index 876f1ff7b6..c1eda283f5 100644
--- a/rts/eventlog/EventLog.c
+++ b/rts/eventlog/EventLog.c
@@ -1410,6 +1410,8 @@ static HeapProfBreakdown getHeapProfBreakdown(void)
return HEAP_PROF_BREAKDOWN_BIOGRAPHY;
case HEAP_BY_CLOSURE_TYPE:
return HEAP_PROF_BREAKDOWN_CLOSURE_TYPE;
+ case HEAP_BY_INFO_TABLE:
+ return HEAP_PROF_BREAKDOWN_INFO_TABLE;
default:
barf("getHeapProfBreakdown: unknown heap profiling mode");
}