Dynamically Defined Events in EventSource V4.6

In a previous blog I talked about the second of three interesting features of the new Version of V4.6 .NET EventSource, namely Rich Data Payloads. In this blog I would like to talk about the last one:  Dynamically Defined Events. Note that .like the Rich Data Payloads, this feature is fully available in the EventSource…

9

Using TraceSource to log ETW data to a file

Yesterday’s blog post was showing how you can use EventSource to generate ETW events and the TraceEvent library to read them in ‘real time’.   Today we will do a slight variation on that example.  Instead of reading the events in real time, we will simply log them to a file, and then later (it happens…

8

New version of TraceEvent / PerfMonitor Posted to bcl.codeplex.com

For several years now, I have had code called the ‘TraceEvent library’ that allows you to access ETW files (ETL files) from C#.   However for over a year now, I have not updated the public version of that library.   Well, that time has ended. I updated the TraceEvent library as well as the PerfMonitor sample at http://bcl.codeplex.com to…

7

Three new Videos on using PerfView’s Event View (And Using it in conjunction with System.Diagnostics.Tracing.EventSource)

  I have just posted the following 3 videos to the my Channel 9 PerfView Tutorial Series. Perfview Tutorial 6 – The Event Viewer Basics PerfView Tutorial 7 – Using the Event Viewer in ASP.NET Scenarios PerfView Tutorial 8 – Generating Your Own Events with EventSources  If you are not already comforable with PerfView’s event viewer,…

7

More Support for EventSource and strongly typed logging: The Semantic Logging Application Block

If you have been following my blog at all, you have seen my articles about System.Diagnostics.Tracing.EventSource, a class that introduced in V4.5 of the .NET Runtime for production logging.    This class replaces the System.Diagnostics.TraceSource class  and we strongly encourage people to consider using EventSource instead of TraceSource for any future work (You can events from one go…

7

Issue with Symbols Lookup with PerfView V1.8 collecting on older OS version

I wanted to blog about this just to increase the visibility of this bug since it may me more common that I thought.  If you are using Versions 1.8 of PerfView and you are COLLECTING data using PerfView using its default setting and when you look at your resulting .ETL.ZIP file and it gives you…

7

TraceEvent Nuget package has moved from Prelease to Stable

Back in August in this blog enty, I announced that the TraceEvent Library Nuget Package and the TraceEvent Library Samples Nuget Package have been published at www.nuget.org as Prerelease software.  Well I just updated this to be a stable version (version 1.0.5).   For those who don’t already know, TraceEvent is a library for parsing data that comes from Event…

6

What’s Coming in .NET Runtime Performance in Version V3.5 SP1

What’s Coming in .NET Runtime Performance in Version V3.5 SP1 It certainly has been a while since I last blogged.   Most of this is laziness on my part, but I can truthfully say that it is partly because I have been busy trying to get the next servicing release of the .NET framework (called Version…

6

The windows prefetcher

In my last blog I talked about some of the conditions than need to hold for the cold startup formula ColdStartupTimeMSec = WarmStartupTimeMsec + 4 * NumberOfReads + 20 * NumberMBytes To be accurate.  I mentioned that if you have overlap between the CPU and the disk then it may not be accurate (although it would…

5

The specification for the System.Diagnostics.Tracing.EventSource class.

In my last blog entry I gave a ‘Hello World’ Style example of using the new .NET V4.5 class System.Diagnostics.Tracing.EventSource.  This class lets you log ETW events from managed code easily.   This is a quick follow on to give you access to more details, quickly.   Attached to this poisting is the original specification for the…

5