[GHC] #11810: Filtering of cost-center profiler output no longer works
GHC
ghc-devs at haskell.org
Thu Apr 7 12:06:26 UTC 2016
#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
More information about the ghc-tickets
mailing list