<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Using the Windows Sample Profiler with Xperf</title><link>http://blogs.msdn.com/b/pigscanfly/archive/2008/03/02/using-the-windows-sample-profiler-with-xperf.aspx</link><description>Using the xperf tools, ETW, and the kernel sample profile interrupt all together provides a very effective and easy to use sample profiler for the analysis of both application and system wide performance.&amp;#160; At each sample interrupt, the ETW sub-system</description><dc:language>en</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>XPerf - Windows Performance Toolkit</title><link>http://blogs.msdn.com/b/pigscanfly/archive/2008/03/02/using-the-windows-sample-profiler-with-xperf.aspx#8235508</link><pubDate>Sat, 15 Mar 2008 21:40:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8235508</guid><dc:creator>All Your Base Are Belong To Us</dc:creator><description>&lt;p&gt;Event Tracing for Windows has been with us since Windows 2000. It is an infrastructure for raising events&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8235508" width="1" height="1"&gt;</description></item><item><title>Windows Performance Tools Kit</title><link>http://blogs.msdn.com/b/pigscanfly/archive/2008/03/02/using-the-windows-sample-profiler-with-xperf.aspx#8171348</link><pubDate>Wed, 12 Mar 2008 19:41:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8171348</guid><dc:creator>Notes from a dark corner</dc:creator><description>&lt;p&gt;If you like delving into the depths of how a Windows system is performing (or not performing) then a&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8171348" width="1" height="1"&gt;</description></item><item><title>re: Using the Windows Sample Profiler with Xperf</title><link>http://blogs.msdn.com/b/pigscanfly/archive/2008/03/02/using-the-windows-sample-profiler-with-xperf.aspx#8117314</link><pubDate>Sun, 09 Mar 2008 15:47:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8117314</guid><dc:creator>SloNN</dc:creator><description>&lt;p&gt;We are developing our application for XP and W2k3 OS'es mainly, could you write about xperf features available on that OS'es, please?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8117314" width="1" height="1"&gt;</description></item><item><title>re: Using the Windows Sample Profiler with Xperf</title><link>http://blogs.msdn.com/b/pigscanfly/archive/2008/03/02/using-the-windows-sample-profiler-with-xperf.aspx#8117299</link><pubDate>Sun, 09 Mar 2008 15:41:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8117299</guid><dc:creator>SloNN</dc:creator><description>&lt;p&gt;Bad luck. :(&lt;/p&gt;
&lt;p&gt;I've hoped that I found a solution for our devision to resolve high CPU issues.&lt;/p&gt;
&lt;p&gt;Anyway thanks for the answer!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8117299" width="1" height="1"&gt;</description></item><item><title>re: Using the Windows Sample Profiler with Xperf</title><link>http://blogs.msdn.com/b/pigscanfly/archive/2008/03/02/using-the-windows-sample-profiler-with-xperf.aspx#8114305</link><pubDate>Sat, 08 Mar 2008 22:02:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8114305</guid><dc:creator>rgr</dc:creator><description>&lt;p&gt;Hi SloNN,&lt;/p&gt;
&lt;p&gt;My appologies - I should have made this clear in my post. &amp;nbsp;The ability to take a stack trace is only avabile on Vista and Windows Server 2008. &amp;nbsp;The XP kernel doesn't support this. &amp;nbsp;This is mostly likey the root of the issue you are seeing. &amp;nbsp; I've updated my posts to reflect this. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;RGR&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8114305" width="1" height="1"&gt;</description></item><item><title>Problems with stack</title><link>http://blogs.msdn.com/b/pigscanfly/archive/2008/03/02/using-the-windows-sample-profiler-with-xperf.aspx#8052365</link><pubDate>Wed, 05 Mar 2008 18:09:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8052365</guid><dc:creator>SloNN</dc:creator><description>&lt;p&gt;I have followed your advise about xperf on WinXP. Traces were captured with profile info and merged on XP machine with &amp;quot;xperf -d&amp;quot; command line. Then I moved on my Vista computer and &amp;nbsp;loaded the traces in xperf. Everything works perfectly except one thing. I cannot get correct profiling information. &lt;/p&gt;
&lt;p&gt;I have loaded all our company symbols with private information, all microsoft symbols from ms store, &amp;nbsp;checked Load Symbols check, then choosed &amp;quot;Summary table&amp;quot; menu item. But there are &amp;quot;?&amp;quot; signs everythere in Stack column. If I expand all &amp;quot;+&amp;quot; signs in the stack column I see correct information in Function column, but menu items &amp;quot;Callers-&amp;gt;Innermost, outermost; Callees-&amp;gt;Innermost,outermost&amp;quot; are disabled. I was not able to find any way to resolve this problem.&lt;/p&gt;
&lt;p&gt;I tried to execute &amp;quot;stack&amp;quot; action in console mode, but result file was empty (no meaningful info, just some headers). I experimented with different command line parameters, but results were the same. I've double rechecked &amp;quot;Troubleshooting symbol decoding&amp;quot; section, but results were the same.&lt;/p&gt;
&lt;p&gt;And I noted that profiling info is incorrect. I tried to resolve 100% CPU usage in our application. I attached to process with Process Explorer, found malfunctioning thread and looked at its stacks. Information shown in xperf was invalid, it shows 99% weight in kernel32, but really it was endless cycle in our user code. May be it is result of the symbols problem.&lt;/p&gt;
&lt;p&gt;BTW I captured the same traces on Vista machine, opened them there and see correct Stacks data with all the menu items &amp;quot;Callers,Callers&amp;quot; enabled.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8052365" width="1" height="1"&gt;</description></item></channel></rss>