[GHC] #14257: Heap profiling with ghc and hp2ps and strict function application ($!) gives samples out of sequence (regression)
GHC
ghc-devs at haskell.org
Wed Sep 20 19:42:18 UTC 2017
#14257: Heap profiling with ghc and hp2ps and strict function application ($!)
gives samples out of sequence (regression)
-------------------------------------+-------------------------------------
Reporter: carlostome | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime System | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #14006 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Indeed I can reproduce this verbatim. Interestingly enough, the sample in
question is at the very end up the `hp` file and has no cost centers in
it,
{{{
...
BEGIN_SAMPLE 0.455729
MAIN 160
(198)GHC.IO.Handle.FD.CAF 680
(218)GHC.Conc.Signal.CAF 640
(225)main 152
(223)Main.CAF 16
(206)GHC.IO.Encoding.Iconv.CAF 120
(208)GHC.IO.Encoding.CAF 1096
(114)PINNED 36816
END_SAMPLE 0.455729
BEGIN_SAMPLE 0.455359
END_SAMPLE 0.455359
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14257#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list