<?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 Intel Vtune Amplifier for profiling Docker process doesn't work in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Intel-Vtune-Amplifier-for-profiling-Docker-process-doesn-t-work/m-p/1164029#M17828</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have started docker process with below command&lt;/P&gt;&lt;P&gt;docker run --privileged=true --cap-add=SYS_PTRACE&amp;nbsp; &amp;nbsp; -it&amp;nbsp; &amp;lt;docker image name and other flags&amp;gt;&lt;/P&gt;&lt;P&gt;After starting my docker i go inside docker and running my application....an the same i want to profile.&lt;/P&gt;&lt;P&gt;For profiling i get the pid of my process that is running inside the docker by ps -eaf | grep &amp;lt;my application name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I use below command&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ amplxe-cl -collect hotspots -target-pid=$PID&lt;/P&gt;&lt;P&gt;Once i start the amplxe it kills my running process and give seg fault with below error&amp;nbsp;&lt;/P&gt;&lt;P&gt;MPLXE_TPSSCOLLECTOR: init:1300: attach_notification_result == tpss_er_success : attach_notification_result = 14&lt;BR /&gt;Assertion failed: init:1300: attach_notification_result == tpss_er_success : attach_notification_result = 14.&lt;/P&gt;&lt;P&gt;Is it possible to launch Vtune with docker process?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 09:46:06 GMT</pubDate>
    <dc:creator>Pandey__Avinash</dc:creator>
    <dc:date>2019-03-05T09:46:06Z</dc:date>
    <item>
      <title>Intel Vtune Amplifier for profiling Docker process doesn't work</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-Vtune-Amplifier-for-profiling-Docker-process-doesn-t-work/m-p/1164029#M17828</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have started docker process with below command&lt;/P&gt;&lt;P&gt;docker run --privileged=true --cap-add=SYS_PTRACE&amp;nbsp; &amp;nbsp; -it&amp;nbsp; &amp;lt;docker image name and other flags&amp;gt;&lt;/P&gt;&lt;P&gt;After starting my docker i go inside docker and running my application....an the same i want to profile.&lt;/P&gt;&lt;P&gt;For profiling i get the pid of my process that is running inside the docker by ps -eaf | grep &amp;lt;my application name&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I use below command&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ amplxe-cl -collect hotspots -target-pid=$PID&lt;/P&gt;&lt;P&gt;Once i start the amplxe it kills my running process and give seg fault with below error&amp;nbsp;&lt;/P&gt;&lt;P&gt;MPLXE_TPSSCOLLECTOR: init:1300: attach_notification_result == tpss_er_success : attach_notification_result = 14&lt;BR /&gt;Assertion failed: init:1300: attach_notification_result == tpss_er_success : attach_notification_result = 14.&lt;/P&gt;&lt;P&gt;Is it possible to launch Vtune with docker process?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 09:46:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-Vtune-Amplifier-for-profiling-Docker-process-doesn-t-work/m-p/1164029#M17828</guid>
      <dc:creator>Pandey__Avinash</dc:creator>
      <dc:date>2019-03-05T09:46:06Z</dc:date>
    </item>
    <item>
      <title>VTune supports profiling</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-Vtune-Amplifier-for-profiling-Docker-process-doesn-t-work/m-p/1164030#M17829</link>
      <description>&lt;P&gt;VTune supports profiling application within docker. Based on your environment these two links might help you walk through the profiling:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/vtune-amplifier-help-profiling-container-targets" target="_blank"&gt;https://software.intel.com/en-us/vtune-amplifier-help-profiling-container-targets&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/vtune-amplifier-cookbook-java-profiling-in-docker-container" target="_blank"&gt;https://software.intel.com/en-us/vtune-amplifier-cookbook-java-profiling-in-docker-container&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please share what version of VTune are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 18:33:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-Vtune-Amplifier-for-profiling-Docker-process-doesn-t-work/m-p/1164030#M17829</guid>
      <dc:creator>Abhinav_S_Intel</dc:creator>
      <dc:date>2019-03-21T18:33:35Z</dc:date>
    </item>
    <item>
      <title>Quote:Abhinav S. (Intel)</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-Vtune-Amplifier-for-profiling-Docker-process-doesn-t-work/m-p/1164031#M17830</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Abhinav S. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/en-us/vtune-amplifier-help-profiling-container-targets"&gt;https://software.intel.com/en-us/vtune-amplifier-help-profiling-containe..&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This link uses only "collector-type:hw-events" (maybe "sampling-mode=hw" in VTune2019).&lt;/P&gt;&lt;P&gt;I think only hw evens works fine.&lt;/P&gt;&lt;P&gt;Avinash, you can try:&amp;nbsp;&lt;/P&gt;&lt;P&gt;$amplxe-cl -collect hotspots -knob sampling-mode=hw -knob enable-stack-collection=true&amp;nbsp; -analyze-system -d 60&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 09:26:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-Vtune-Amplifier-for-profiling-Docker-process-doesn-t-work/m-p/1164031#M17830</guid>
      <dc:creator>KNoro1</dc:creator>
      <dc:date>2019-05-17T09:26:36Z</dc:date>
    </item>
  </channel>
</rss>

