<?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 Failed to allocate Injector, Error = INJECTOR_ERR_FAILED_TO_CREATE_REMOTE_THREAD in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092431#M15648</link>
    <description>&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;I'm trying to use an evaluation version of VTune Amplifier XE for windows 2016 to profile my application which is a windows service.&amp;nbsp;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;I got the following collection log:&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;[Instrumentation Engine]:Failed to allocate Injector, Error = INJECTOR_ERR_FAILED_TO_CREATE_REMOTE_THREAD&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&lt;STRONG&gt;Profiling Details:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;OS: &lt;STRONG&gt;windows server 2008 R2&lt;/STRONG&gt;&lt;BR /&gt;
	target type: &amp;nbsp;&lt;STRONG&gt;Attach to Process&lt;/STRONG&gt;&lt;BR /&gt;
	&lt;STRONG&gt;&lt;EM&gt;target is a running windows Service&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Could you please help me on this? Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2016 04:13:17 GMT</pubDate>
    <dc:creator>Uzair_A_</dc:creator>
    <dc:date>2016-03-01T04:13:17Z</dc:date>
    <item>
      <title>Failed to allocate Injector, Error = INJECTOR_ERR_FAILED_TO_CREATE_REMOTE_THREAD</title>
      <link>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092431#M15648</link>
      <description>&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;I'm trying to use an evaluation version of VTune Amplifier XE for windows 2016 to profile my application which is a windows service.&amp;nbsp;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;I got the following collection log:&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;[Instrumentation Engine]:Failed to allocate Injector, Error = INJECTOR_ERR_FAILED_TO_CREATE_REMOTE_THREAD&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&lt;STRONG&gt;Profiling Details:&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;OS: &lt;STRONG&gt;windows server 2008 R2&lt;/STRONG&gt;&lt;BR /&gt;
	target type: &amp;nbsp;&lt;STRONG&gt;Attach to Process&lt;/STRONG&gt;&lt;BR /&gt;
	&lt;STRONG&gt;&lt;EM&gt;target is a running windows Service&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Could you please help me on this? Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 04:13:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092431#M15648</guid>
      <dc:creator>Uzair_A_</dc:creator>
      <dc:date>2016-03-01T04:13:17Z</dc:date>
    </item>
    <item>
      <title>A simple solution is to use</title>
      <link>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092432#M15649</link>
      <description>&lt;P&gt;A simple solution is to use hardware PMU event-based sampling, e.g. advanced-hotspots, general-exploration,... (with administrator privilege)&lt;/P&gt;

&lt;P&gt;If you profile a windows service application with user-mode sampling (basic-hotspots, for example), read this &lt;A href="https://software.intel.com/en-us/articles/profiling-windows-service"&gt;article&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2016 05:56:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092432#M15649</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2016-03-01T05:56:16Z</dc:date>
    </item>
    <item>
      <title>Hi Peter,</title>
      <link>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092433#M15650</link>
      <description>&lt;P&gt;Hi Peter,&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Thanks for your prompt reply.&lt;/EM&gt; Your post was very helpful and I was able to attach to my service and could profile it.&lt;BR /&gt;
	Now I have another doubt.&lt;BR /&gt;
	My whole application consists of a service and a&lt;STRONG&gt; file system filter driver&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Now, is it possible to do&lt;STRONG&gt; windows kernel profiling and specifically file system filter driver profiling&lt;/STRONG&gt; with VTune?&lt;BR /&gt;
	Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:29:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092433#M15650</guid>
      <dc:creator>Uzair_A_</dc:creator>
      <dc:date>2016-03-02T03:29:31Z</dc:date>
    </item>
    <item>
      <title>This is good news from you.</title>
      <link>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092434#M15651</link>
      <description>&lt;P&gt;This is good news from you.&lt;/P&gt;

&lt;P&gt;&amp;gt;My whole application consists of a service and a&lt;STRONG&gt; file system filter driver&lt;/STRONG&gt;. Now, is it possible to do&lt;STRONG&gt; windows kernel profiling and specifically file system filter driver profiling&lt;/STRONG&gt; with VTune?&lt;/P&gt;

&lt;P&gt;You may try advanced-hotspots (or other event-based sampling collectors) with "-analyze-system" option, after data collecting to open Bottom-up report, move to "bottom" called "Filter" panel to set "User/system functions", select module of your interest to filter data. I think that your *hot* driver should be there.&lt;/P&gt;

&lt;P&gt;If your application have many waits e.g. disk IO, consider to use locksandwaits analysis to measure IO waits.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:56:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Failed-to-allocate-Injector-Error-INJECTOR-ERR-FAILED-TO-CREATE/m-p/1092434#M15651</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2016-03-02T03:56:59Z</dc:date>
    </item>
  </channel>
</rss>

