
#14257: Heap profiling with ghc and hp2ps and strict function application ($!) gives samples out of sequence (regression) -------------------------------------+------------------------------------- Reporter: carlostome | Owner: bgamari Type: bug | Status: new Priority: high | Milestone: 8.4.1 Component: Runtime System | Version: 8.2.1 Resolution: | Keywords: profiler Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14006, #11645 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by duog): Having done some more investigation, my understanding has improved. The diff linked in comment:8 is quite wrong. `heapCensus` should be called during a garbage collection, and it's time should be included in GC stats. It's parameter should be the start time of the current gc. I now believe the cause of this is a bug in how gc times are accumulated, see Phab:4184, which does fix this issue. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14257#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler