[GHC] #10235: Get profiling info without stopping program

#10235: Get profiling info without stopping program -------------------------------------+------------------------------------- Reporter: mwotton | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.10.1 Component: Compiler | Operating System: Unknown/Multiple Keywords: | Type of failure: None/Unknown Architecture: | Blocked By: Unknown/Multiple | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- I frequently want to know profiling information for web servers in production. Unfortunately there doesn't seem to be a way to trigger this without stopping the program, which might annoy my users. My ideal would be to able to call "dumpProfile :: Filename -> IO()" and then call that from a timer thread. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10235 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10235: Get profiling info without stopping program -------------------------------------+------------------------------------- Reporter: mwotton | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by maoe): * cc: maoe@… (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10235#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10235: Get profiling info without stopping program -------------------------------------+------------------------------------- Reporter: mwotton | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by kvelicka): I'm currently working on adding such functionality. In the current state of affairs, the problem isn't that the log is not being dumped, it's being written to continuously. The issue is that the release version of `ghc- events` cannot parse incomplete `.eventlog` files. My WIP version of the library does, so if there's a need to profile something urgently, feel free to try it out: https://github.com/kvelicka/ghc-events . Working on this is now a part of my university project, so it should hopefully be finished up and merged into the master branch soon. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10235#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10235: Get profiling info without stopping program -------------------------------------+------------------------------------- Reporter: mwotton | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by kvelicka): * cc: karolis.velicka@… (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10235#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC