<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Profiling a .NET Windows Service in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964102#M8934</link>
    <description>The above link does not work.</description>
    <pubDate>Fri, 13 Apr 2007 01:01:13 GMT</pubDate>
    <dc:creator>James_P_Intel</dc:creator>
    <dc:date>2007-04-13T01:01:13Z</dc:date>
    <item>
      <title>Profiling a .NET Windows Service</title>
      <link>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964100#M8932</link>
      <description>&lt;DIV&gt;Is it possible to profile a Windows Service written using .NET using VTune? Thanks.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;-Suresh&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Apr 2004 01:25:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964100#M8932</guid>
      <dc:creator>sureshk</dc:creator>
      <dc:date>2004-04-08T01:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling a .NET Windows Service</title>
      <link>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964101#M8933</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;sureshk:&lt;/P&gt;
&lt;P&gt;Sampling can be used on any code that runs on the system: application, driver, service, etc. As long as you have debug information for the module (i.e., exe, dll, etc.), the analyzer can display hotspots within your code.&lt;/P&gt;
&lt;P&gt;To use call graph on a Windows service, there are special instructions. Please see &lt;A href="http://support.intel.com/support/performancetools/vtune/sb/cs-006207-prd232.htm" target="_blank"&gt;http://support.intel.com/support/performancetools/vtune/sb/cs-006207-prd232.htm&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;-dlanders&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Apr 2004 03:06:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964101#M8933</guid>
      <dc:creator>Anonymous24</dc:creator>
      <dc:date>2004-04-08T03:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling a .NET Windows Service</title>
      <link>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964102#M8934</link>
      <description>The above link does not work.</description>
      <pubDate>Fri, 13 Apr 2007 01:01:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964102#M8934</guid>
      <dc:creator>James_P_Intel</dc:creator>
      <dc:date>2007-04-13T01:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling a .NET Windows Service</title>
      <link>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964103#M8935</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.intel.com/support/performancetools/vtune/v71/sb/cs-009677.htm" target="_blank"&gt;http://www.intel.com/support/performancetools/vtune/v71/sb/cs-009677.htm&lt;/A&gt; is the correct one. It was the first in google search for 'call graph windows service'. There were no big changes in .NET related functionality, so there are chances the document is relevant for 9.0 as well.&lt;BR /&gt;&lt;BR /&gt;regards, Andrei&lt;BR /&gt;</description>
      <pubDate>Thu, 17 May 2007 13:42:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964103#M8935</guid>
      <dc:creator>aokunev</dc:creator>
      <dc:date>2007-05-17T13:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling a .NET Windows Service</title>
      <link>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964104#M8936</link>
      <description>That link isbroken too. Search seems useless.</description>
      <pubDate>Wed, 09 Apr 2008 00:24:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964104#M8936</guid>
      <dc:creator>jbuxtonval</dc:creator>
      <dc:date>2008-04-09T00:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Profiling a .NET Windows Service</title>
      <link>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964105#M8937</link>
      <description>It's &lt;A href="http://www.intel.com/support/performancetools/vtune/sb/cs-009677.htm"&gt;here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Also, looks like we archived that original article (it has been 4 years, after all! :-}. Here is the content for reference:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Symptom:&lt;/B&gt;&lt;BR /&gt;No data is collected when I try to call graph my Windows* 
service.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Solution:&lt;/B&gt;&lt;BR /&gt;The Intel VTune analyzer, by default, does 
not have administrative privileges to access Windows services. Follow the steps 
listed below to enable the analyzer:
&lt;OL&gt;&lt;LI&gt;Make sure that you are &lt;STRONG&gt;logged in as Administrator&lt;/STRONG&gt; on the 
system. 
&lt;/LI&gt;&lt;LI&gt;Make sure that your &lt;STRONG&gt;service is installed and registered&lt;/STRONG&gt; 
correctly. 
&lt;/LI&gt;&lt;LI&gt;Open the &lt;STRONG&gt;Services&lt;/STRONG&gt; applet (in &lt;STRONG&gt;Administrative 
Tools&lt;/STRONG&gt;) and find your service in the list of installed services. 
&lt;/LI&gt;&lt;LI&gt;If your service is running, stop it. 
&lt;/LI&gt;&lt;LI&gt;Depending on your OS, click on the Startup button or right-click the service 
and select &lt;STRONG&gt;Properties&lt;/STRONG&gt;, and change the &lt;STRONG&gt;StartUp&lt;/STRONG&gt; 
type to &lt;STRONG&gt;Manual&lt;/STRONG&gt;. 
&lt;/LI&gt;&lt;LI&gt;Change &lt;STRONG&gt;LogOnAs&lt;/STRONG&gt; to &lt;STRONG&gt;This Account&lt;/STRONG&gt; and type 
"Administrator" in the &lt;STRONG&gt;This Account &lt;/STRONG&gt;text box. 
&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Enter the password&lt;/STRONG&gt; for the Administrator account. This will 
enable the analyzer to access the service when the activity is started. 
&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Confirm&lt;/STRONG&gt; the password. 
&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Confirm&lt;/STRONG&gt; that the service can be manually started and 
stopped.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;The service cannow be call graphed using the following steps:&lt;/P&gt;
&lt;OL&gt;&lt;LI&gt;Start the analyzer and select the &lt;STRONG&gt;Call Graph Wizard&lt;/STRONG&gt;. 
&lt;/LI&gt;&lt;LI&gt;Select &lt;STRONG&gt;Win32*/Win64* Profiling&lt;/STRONG&gt; and press Next. 
&lt;/LI&gt;&lt;LI&gt;Select &lt;STRONG&gt;No application to launch&lt;/STRONG&gt; and press Next. 
&lt;/LI&gt;&lt;LI&gt;Add your service to list of &lt;STRONG&gt;Modules of Interest &lt;/STRONG&gt;and press 
&lt;STRONG&gt;Finish&lt;/STRONG&gt;. 
&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Run the activity&lt;/STRONG&gt;. When activity is run, the analyzer should 
instrument your service and prompt you to start the service. 
&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Start&lt;/STRONG&gt; &lt;STRONG&gt;the service&lt;/STRONG&gt;. The analyzer detects 
that the service has started and starts call graph analysis. 
&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Use&lt;/STRONG&gt; &lt;STRONG&gt;the service&lt;/STRONG&gt; - exercise the service by 
whatever means you have developed. 
&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Stop&lt;/STRONG&gt; &lt;STRONG&gt;the service&lt;/STRONG&gt;. 
&lt;/LI&gt;&lt;LI&gt;Now, manually &lt;STRONG&gt;stop the analyzer&lt;/STRONG&gt; &lt;STRONG&gt;activity&lt;/STRONG&gt; 
by pressing the &lt;STRONG&gt;Stop&lt;/STRONG&gt; button. The analyzer should produce a call 
graph for the selected service.&lt;/LI&gt;&lt;/OL&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Apr 2008 22:56:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Profiling-a-NET-Windows-Service/m-p/964105#M8937</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2008-04-10T22:56:44Z</dc:date>
    </item>
  </channel>
</rss>

