[GHC] #886: Profiling doesn't work with -threaded
GHC
trac at galois.com
Fri Nov 2 09:27:58 EDT 2007
#886: Profiling doesn't work with -threaded
----------------------------+-----------------------------------------------
Reporter: Lemmih | Owner:
Type: task | Status: new
Priority: normal | Milestone: 6.8 branch
Component: Runtime System | Version: 6.5
Severity: normal | Resolution:
Keywords: | Difficulty: Moderate (1 day)
Testcase: | Architecture: Multiple
Os: Multiple |
----------------------------+-----------------------------------------------
Comment (by guest):
It must cause problem when someone want to optimise Haskell program.
If a programmer find that program is slow, then he profile and try to
optimise it.H e find bottleneck long computing function, and he use thread
to fix performance problem (Of course, bottleneck isn't memory efficiency
in this case).
But now he can't profile his proram again. forkOS cause error without
-threaded option.par can work without -threaded option, but profiler
doesn't report correct result.
That's too bad.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/886#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list