<?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 advanced-hotspots works. in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019311#M12814</link>
    <description>&lt;P&gt;advanced-hotspots works. Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2015 04:32:57 GMT</pubDate>
    <dc:creator>John_Z_</dc:creator>
    <dc:date>2015-05-29T04:32:57Z</dc:date>
    <item>
      <title>amplxe: Error: [Instrumentation Engine]: failed to create the detach process (clone failed)</title>
      <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019307#M12810</link>
      <description>&lt;P&gt;running command&lt;/P&gt;

&lt;P&gt;amplxe-cl -target-process dsd -collect hotspots&lt;BR /&gt;
	amplxe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: amplxe-cl -r /r000hs -command stop.&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	then stopped but got the following error:&lt;/P&gt;

&lt;P&gt;^Camplxe: Error: [Instrumentation Engine]: failed to create the detach process (clone failed)&lt;BR /&gt;
	amplxe: Collection detached.&lt;BR /&gt;
	amplxe: Collection failed.&lt;BR /&gt;
	amplxe: Internal Error&lt;/P&gt;

&lt;P&gt;Could anyone help? Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 00:01:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019307#M12810</guid>
      <dc:creator>John_Z_</dc:creator>
      <dc:date>2015-05-29T00:01:59Z</dc:date>
    </item>
    <item>
      <title>Using Ctrl-C is not</title>
      <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019308#M12811</link>
      <description>&lt;P&gt;Using Ctrl-C is not encouraged, Try to use - "&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;amplxe-cl -command stop -r /r000hs", on other console.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Or you let VTune to terminate it by setting duration - "amplxe-cl -target-process dsd -collect hotspots -duration 20", for example&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 00:20:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019308#M12811</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2015-05-29T00:20:42Z</dc:date>
    </item>
    <item>
      <title>Peter, I still got the same</title>
      <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019309#M12812</link>
      <description>&lt;P&gt;Peter, I still got the same error when using&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;&amp;nbsp;"amplxe-cl -command stop -r /r000hs" or with "-duration" option&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 00:30:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019309#M12812</guid>
      <dc:creator>John_Z_</dc:creator>
      <dc:date>2015-05-29T00:30:14Z</dc:date>
    </item>
    <item>
      <title>Another is if you ran VTune</title>
      <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019310#M12813</link>
      <description>&lt;P&gt;Another way is to check if you ran VTune with same user privilege as target process, what I mean is that you may use same user account to launch target process and VTune.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You can open cmd as admin, then run vtune in second option: use advanced-hotspots instead of basic hotspots. Advanced-hotspots is system level profiling.&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 00:52:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019310#M12813</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2015-05-29T00:52:00Z</dc:date>
    </item>
    <item>
      <title>advanced-hotspots works.</title>
      <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019311#M12814</link>
      <description>&lt;P&gt;advanced-hotspots works. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 04:32:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019311#M12814</guid>
      <dc:creator>John_Z_</dc:creator>
      <dc:date>2015-05-29T04:32:57Z</dc:date>
    </item>
    <item>
      <title>What about "locksandwaits"</title>
      <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019312#M12815</link>
      <description>&lt;P&gt;What about "locksandwaits" analysis type?&lt;/P&gt;

&lt;P&gt;It does not support system-wide profiling. If specifying process, it will have same error. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2015 21:16:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019312#M12815</guid>
      <dc:creator>John_Z_</dc:creator>
      <dc:date>2015-05-29T21:16:08Z</dc:date>
    </item>
    <item>
      <title>"locksandwaits" is user level</title>
      <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019313#M12816</link>
      <description>&lt;P&gt;"locksandwaits" is user level profiling, and don't support system wide profiling.&lt;/P&gt;

&lt;P&gt;This is a privilege issue...&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I guess your target application is system service program. So, you may end target process, then use user account (VTune works) to launch a new process. Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2015 03:01:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019313#M12816</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2015-05-30T03:01:27Z</dc:date>
    </item>
    <item>
      <title>Hi Matthias,</title>
      <link>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019314#M12817</link>
      <description>&lt;P&gt;Hi Matthias,&lt;/P&gt;

&lt;P&gt;Thanks for your comments.&lt;/P&gt;

&lt;P&gt;&amp;gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;The underlying problem is this: Apparently the intel tool tries to clone the process of the application being analysed...&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;User mode sampling collections (basic hotspots, concurrency analysis, locks and waits analysis) will instrument running process in user level, the cost is expensive than event based sampling collections, e.g. advanced-hotspots. That was why we recommended to use advanced hotspots instead of &amp;nbsp;basic hotspots.&lt;/P&gt;

&lt;P&gt;&amp;gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Now to solve this I just added 100GB of swap to my setup and VTune stopped failing with this message...&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Increasing memory swap is good way, if your run BIG application (overhead is high either from VTune). You have other ways to reduce overhead, please see this&lt;A href="https://software.intel.com/en-us/blogs/2015/01/29/reducing-overload-when-using-basic-hotspots-analysis"&gt; article&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 02:59:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/amplxe-Error-Instrumentation-Engine-failed-to-create-the-detach/m-p/1019314#M12817</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2015-10-19T02:59:52Z</dc:date>
    </item>
  </channel>
</rss>

