• 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).
EventLogFormat.h 10.1 KB