Can cost-centre annotations be included in -ddump-simpl?
I'm trying to diagnose an allocation problem. I'm using both explicit cost-centre annotations and
-fprof -fprof-auto. I'm running with
+RTS -pa -hc. To understand what I'm seeing in the profiles, I'm looking at the output from the
ghc-core tool, which I think include
If I understand the semantics correctly, allocations are indicated by
let bindings in the Core. It would be hugely helpful if each of these
let bindings were annotated with the cost centre to which the allocation is charged. A great aid to debugging!
If we can help with this idea, please let me know.