<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Perfview on naveen srinivasan</title><link>https://naveensrinivasan.com/categories/perfview/</link><description>Recent content in Perfview on naveen srinivasan</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 29 May 2015 03:35:50 +0000</lastBuildDate><atom:link href="https://naveensrinivasan.com/categories/perfview/index.xml" rel="self" type="application/rss+xml"/><item><title>Log dynamic Custom objects in ETW using EventSource</title><link>https://naveensrinivasan.com/?p=1489/</link><pubDate>Fri, 29 May 2015 03:35:50 +0000</pubDate><guid>https://naveensrinivasan.com/?p=1489/</guid><description>&lt;p&gt;With the latest release of &lt;!-- raw HTML omitted --&gt;EventSource&lt;!-- raw HTML omitted --&gt; we could create dynamic events without having to create class that inherits from EventSource. This is will be not be good for Performance.&lt;/p&gt;&#10;&lt;p&gt;Using these methods we could either log Anonymous objects or Classes that have the EventData Attribute applied to it. The caveat is that these objects public properties alone will be serialized. These properties have to be of native types like string,int,datetime, guid , IEnumerable. If you don’t want a property to be serialized you could apply the attribute EventIgnore.&lt;/p&gt;</description></item></channel></rss>