Search code examples
.netclrclr4.0etw

What exactly are new ETW features in CLR 4.0?


My colleague mentioned that there are some major improvements in CLR 4.0 related to Event Tracing for Windows but I couldn't find details of what exactly is new. There are few blog posts that mention only about improvements but do not provide any details on what exactly is new. Anyone has more insight into it?


Solution

  • Here is a list of ETW events in CLR 4.0

    1. Runtime Information ETW Events
    2. Exception Thrown_V1 ETW Event
    3. Contention ETW Events
    4. Thread Pool ETW Events
    5. Loader ETW Events
    6. Method ETW Events
    7. Garbage Collection ETW Events
    8. JIT Tracing ETW Events
    9. Interop ETW Events Application
    10. Domain Resource Monitoring (ARM) ETW Events
    11. Security ETW Events
    12. Stack ETW Event

    For detailed explanation on these you can read them up in msdn

    And also XPERF cannot decode managed stacks with ETW, so BCL team has released another tool in codeplex called Perfmonitor which can be used.

    HTH