[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 Nov 15 20:05:28 UTC 2017


#14257: Heap profiling with ghc and hp2ps and strict function application ($!)
gives samples out of sequence (regression)
-------------------------------------+-------------------------------------
        Reporter:  carlostome        |                Owner:  bgamari
            Type:  bug               |               Status:  patch
        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):  Phab:D4184
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"d9f0c24dd01b2f2a9a5ccc2fc45e93064d4ba0c1/ghc"
 d9f0c24d/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d9f0c24dd01b2f2a9a5ccc2fc45e93064d4ba0c1"
 rts: Fix gc timing

 We were accumulating the gc times of the previous gc.
 `stats.gc.{cpu,elappsed}_ns` were being accumulated into
 `stats.gc_{cpu,elapsed}_ns` before they were set.

 There is also a change in that heap profiling will no longer cause gc
 events to
 be emitted.

 Reviewers: bgamari, erikd, simonmar

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #14257, #14445

 Differential Revision: https://phabricator.haskell.org/D4184
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14257#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list