[GHC] #11810: Filtering of cost-center profiler output no longer works

#11810: Filtering of cost-center profiler output no longer works -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: highest | Milestone: 8.0.1 Component: Profiling | Version: 8.0.1-rc3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Incorrect result Unknown/Multiple | at runtime Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- With the following testcase, {{{#!hs import Control.Monad (replicateM) main :: IO () main = do let xs = replicate 10000000 $ 42 print $ length xs print $ sum xs }}} Running like this, {{{ ghc -prof -auto-all Hi.hs && ./Hi +RTS -hy[] -hc }}} with 7.10.3 produces a useful profile with the output one would expect. 8.0.1-rc2, on the other hand produces empty samples. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11810 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11810: Filtering of cost-center profiler output no longer works -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: patch Priority: highest | Milestone: 8.0.1 Component: Profiling | Version: 8.0.1-rc3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2090 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D2090 Comment: Bah, classic use-after-free introduced by yours truly. Fix in Phab:D2090. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11810#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11810: Filtering of cost-center profiler output no longer works
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: patch
Priority: highest | Milestone: 8.0.1
Component: Profiling | Version: 8.0.1-rc3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D2090
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11810: Filtering of cost-center profiler output no longer works -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: highest | Milestone: 8.0.1 Component: Profiling | Version: 8.0.1-rc3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2090 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed Comment: Merged to `master` and to `ghc-8.0` as e1bd51875a13688814e0bf6633f5feab4c6f52b0. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11810#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC