Errors on analyzing ETW Events from CLR Garbage Collection

Apr 29, 2013 at 9:54 AM
Hi,

I have problems with analyzing events that I recorded from the GC-Events of the CLR.

If I load the CLR manifest, only the .NET Rundown Provider is shown in the keywords panel.
Also the panel for the duration doesn't work right.

In the CLR manifest exists to providers, the runtime provider and the rundown provider.
The GC Events and Keyword are located in the runtime provider.

Can you help me.
Coordinator
May 2, 2013 at 10:27 PM
Can you provide info on how I can collect the trace to repro this?
Also for CLR traces PerfView is probably the best tool available today.
http://www.microsoft.com/en-us/download/details.aspx?id=28567
May 7, 2013 at 8:39 AM
Edited May 7, 2013 at 8:40 AM
Hi,

you can find the clr manifest in
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\CLR-ETW.man
for tracing the clr events you have to register the manifest with
"WEVTUTIL im c:\Windows\Microsoft.NET\Framework64\v4.0.30319\CLR-ETW.man"
after that you can trace events
xperf -start clr -on e13c0d23-ccbc-4e12-931b-d9cc2eee27e4:0x1CCBD:5  -f clrevents.etl
Do something, like open the svcPerf tool

stop tracing
xperf -stop clr
now you have an etl file that you can load with your program.
The task is to analyse the garbace collecting events, and and show a histogram of the elapsed gc-time.

I know the perfview tool, but I want to see the histogram of elapsed times, a picture is better than a big list of rows
Coordinator
May 7, 2013 at 9:12 PM
Agree,
Just FYI. You actually don't need to register the manifest.
I'll see if loading actually does create a problem.