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

GHC ghc-devs at haskell.org
Fri Apr 3 04:16:57 UTC 2015


#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


More information about the ghc-tickets mailing list