[GHC] #10915: Statistical profiling support in the RTS

GHC ghc-devs at haskell.org
Sat Sep 26 16:02:15 UTC 2015


#10915: Statistical profiling support in the RTS
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  bgamari
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.10.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):  Phab:D1215,    |
  Phab:D1214                         |
-------------------------------------+-------------------------------------
 Now since GHC can produce useful debugging information (e.g. DWARF
 annotations and source notes) in compiled objects, it would great if we
 could leverage this for more efficient profiling.

 While ideally we would be able to rely on external tools like `perf` for
 this task, this would require that the STG stack be walkable like a
 standard C stack.

 A more feasible alternative is to incorporate a simple statistical
 profiler into the RTS.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10915>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list