[GHC] #16143: Some cost centre stacks are not registered via registerCcsList()

GHC ghc-devs at haskell.org
Wed Jan 9 08:37:16 UTC 2019


#16143: Some cost centre stacks are not registered via registerCcsList()
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Profiling         |              Version:  8.6.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 CCS_LIST is not used when reporting. It's only used during initialization
 to chain all the static CCSs together so that they can be assigned unique
 IDs.  See `initProfiling` and `initProfiling2`.

 So I think you're not finding `base_GHCziIOziHandleziFD_CAFs_cc_ccs`
 because it was only on the CCS_LIST temporarily during initialization, and
 you're not finding the dynamic CCSs becuase they never get put on the
 CCS_LIST.

 Summary: I think you're barking up the wrong tree here :)

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


More information about the ghc-tickets mailing list