1. 14 Jul, 2012 18 commits
  2. 13 Jul, 2012 7 commits
  3. 11 Jul, 2012 8 commits
  4. 10 Jul, 2012 7 commits
    • dterei's avatar
      4f764d06
    • Duncan Coutts's avatar
      Have a go at fixing the heap info DTrace build failue on OSX · 45c80482
      Duncan Coutts authored
      This patch will need to be tested by someone on OSX.
      
      Fixed a couple wrong names:
        CapsetID vs EventCapsetID
        gc__sync vs gc__global__sync
      45c80482
    • Duncan Coutts's avatar
      Emit the task-tracking events · 38397354
      Duncan Coutts authored
      Based on initial patches by Mikolaj Konarski <mikolaj@well-typed.com>
      
      Use the new task tracing functions traceTaskCreate/Migrate/Delete.
      There are two key places. One is for worker tasks which have a
      relatively simple life cycle. Worker tasks are created and deleted by
      the RTS. The other case is bound tasks which are either created by the
      RTS, or appear as foreign C threads making calls into the RTS. For bound
      threads we do the tracing in rts_lock/unlock, which actually covers both
      threads coming in from outside, and also bound threads made by the RTS.
      38397354
    • Duncan Coutts's avatar
      Define the task-tracking events · 54c98b68
      Duncan Coutts authored
      Based on initial patches by Mikolaj Konarski <mikolaj@well-typed.com>
      
      These new eventlog events are to let profiling tools keep track of all
      the OS threads that belong to an RTS capability at any moment in time.
      In the RTS, OS threads correspond to the Task abstraction, so that is
      what we track. There are events for tasks being created, migrated
      between capabilities and deleted. In particular the task creation event
      also records the kernel thread id which lets us match up the OS thread
      with data collected by others tools (in the initial use case with
      Linux's perf tool, but in principle also with DTrace).
      54c98b68
    • Simon Peyton Jones's avatar
      Merge branch 'master' of ../HEAD · 4450cc7f
      Simon Peyton Jones authored
      4450cc7f
    • Simon Peyton Jones's avatar
    • Simon Peyton Jones's avatar
      Be careful not to look for Functor unnecessarily · c548f91f
      Simon Peyton Jones authored
      Otherwise we try to load package 'base' when
      we are compiling 'ghc-prim'.
      See Note [Getting base classes]
      c548f91f