<?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 Thanks, in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138205#M16979</link>
    <description>&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Regarding VTune 2016 - the release notes doesn't say which Windows10 Versions are supported&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://software.intel.com/sites/default/files/managed/d8/4a/release_notes_amplifier_windows.pdf" target="_blank"&gt;https://software.intel.com/sites/default/files/managed/d8/4a/release_notes_amplifier_windows.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Can you tell?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jun 2018 16:27:27 GMT</pubDate>
    <dc:creator>ginzberg__yehonatan</dc:creator>
    <dc:date>2018-06-27T16:27:27Z</dc:date>
    <item>
      <title>SGX call stack collection / analysis</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138198#M16972</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm perf analyzing SGX, I used hotspots to improve performance of functions in my code and got to a point where high hitters are "system" calls (i.e. _intel_avx_rep_memcpy, malloc, memchr, _intel_avx_rep_memset, free, etc.).&lt;/P&gt;

&lt;P&gt;I believe that using stack informaiton VTune will build a meaningful Top-down tree which will allow me to capture whether there are blocks in my code that are calling "system" calls intensively.&lt;/P&gt;

&lt;P&gt;Is there a way to enable call stack collection for SGX analysis? or other methods that will allow me to have a meaningful top-down tree?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 12:05:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138198#M16972</guid>
      <dc:creator>ginzberg__yehonatan</dc:creator>
      <dc:date>2018-06-09T12:05:44Z</dc:date>
    </item>
    <item>
      <title>You can try the following:</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138199#M16973</link>
      <description>&lt;P&gt;You can try the following:&lt;/P&gt;

&lt;P&gt;1. Copy the 'SGX Hotspots' analysis type&lt;/P&gt;

&lt;P&gt;2. In the appeared custom analysis check 'Collect Stacks' option&lt;/P&gt;

&lt;P&gt;3. Run your analysis&lt;/P&gt;

&lt;P&gt;4. In the opened result change viewpoint (using control at the top)&amp;nbsp;from 'Hardware Events' to 'Hotspots'&lt;/P&gt;

&lt;P&gt;Note that this method wasn't tested so no guarantee&amp;nbsp;it will work correctly.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 10:05:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138199#M16973</guid>
      <dc:creator>Dmitry_R_Intel1</dc:creator>
      <dc:date>2018-06-19T10:05:17Z</dc:date>
    </item>
    <item>
      <title>Hi Dmitry, I tried that and</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138200#M16974</link>
      <description>&lt;P&gt;Hi Dmitry, I tried that and VTune reports issues with vtss driver.&lt;/P&gt;

&lt;P&gt;I tried to work with VTune 2016 Update 4, 2018 Update 1 and 2018 Update 3. Please note that I'm aware that SGX hotspots is broken in 2018 Update 3 (per our previous conversation). I tried it just to see if there is some issue with my OS that requires latest VTune bits.&lt;/P&gt;

&lt;P&gt;VTSS Driver installation fails, event viewer reports "The vtss service failed to start due to the following error: %%4294967290" - seems to translate to error code -6 under twos-complement. I couldn't find explanation to this error that could help me work around the issue.&lt;/P&gt;

&lt;P&gt;Can you assist?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 07:08:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138200#M16974</guid>
      <dc:creator>ginzberg__yehonatan</dc:creator>
      <dc:date>2018-06-27T07:08:59Z</dc:date>
    </item>
    <item>
      <title>Attaching VTSS installation</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138201#M16975</link>
      <description>&lt;P&gt;Attaching VTSS installation error files and machine information&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 07:58:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138201#M16975</guid>
      <dc:creator>ginzberg__yehonatan</dc:creator>
      <dc:date>2018-06-27T07:58:45Z</dc:date>
    </item>
    <item>
      <title>Hi Yehonatan,</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138202#M16976</link>
      <description>&lt;P&gt;Hi Yehonatan,&lt;/P&gt;

&lt;P&gt;Unfortunately VTune vtss&amp;nbsp;doesn't support Windows 10&amp;nbsp;RS4&amp;nbsp;yet. This will be enabled in future updates.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 11:35:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138202#M16976</guid>
      <dc:creator>Dmitry_R_Intel1</dc:creator>
      <dc:date>2018-06-27T11:35:06Z</dc:date>
    </item>
    <item>
      <title>:(</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138203#M16977</link>
      <description>&lt;P&gt;:(&lt;/P&gt;

&lt;P&gt;Where can I see VTune support matrix? The problem with Windows 10 is that it auto-updates and I couldn't find a way to stop it from doing so..&lt;/P&gt;

&lt;P&gt;Any ETA for when it'd be supported?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:25:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138203#M16977</guid>
      <dc:creator>ginzberg__yehonatan</dc:creator>
      <dc:date>2018-06-27T12:25:40Z</dc:date>
    </item>
    <item>
      <title>You can find the supported</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138204#M16978</link>
      <description>&lt;P&gt;You can find the supported OSes in release notes: &lt;A href="https://software.intel.com/en-us/articles/intel-vtune-amplifier-release-notes"&gt;https://software.intel.com/en-us/articles/intel-vtune-amplifier-release-notes&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;At this point&amp;nbsp;we can't provide any ETA.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:48:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138204#M16978</guid>
      <dc:creator>Dmitry_R_Intel1</dc:creator>
      <dc:date>2018-06-27T13:48:31Z</dc:date>
    </item>
    <item>
      <title>Thanks,</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138205#M16979</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Regarding VTune 2016 - the release notes doesn't say which Windows10 Versions are supported&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://software.intel.com/sites/default/files/managed/d8/4a/release_notes_amplifier_windows.pdf" target="_blank"&gt;https://software.intel.com/sites/default/files/managed/d8/4a/release_notes_amplifier_windows.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Can you tell?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 16:27:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138205#M16979</guid>
      <dc:creator>ginzberg__yehonatan</dc:creator>
      <dc:date>2018-06-27T16:27:27Z</dc:date>
    </item>
    <item>
      <title>It does. E.g. for 2016 Update</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138206#M16980</link>
      <description>&lt;P&gt;It does. E.g. for 2016 Update 2:&lt;/P&gt;

&lt;P&gt;"&lt;FONT size="3"&gt;Support for the Microsoft Windows* 10 November update "&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;The 2016 line is quite old and it supports only early versions of Windows 10.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 17:04:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138206#M16980</guid>
      <dc:creator>Dmitry_R_Intel1</dc:creator>
      <dc:date>2018-06-27T17:04:10Z</dc:date>
    </item>
    <item>
      <title>You are right, the release</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138207#M16981</link>
      <description>&lt;P&gt;You are right, the release notes for Update 2 give some hints, I didn't look into them as I'm using Update 4 whose release notes do not mention supported version of Windows 10.&lt;/P&gt;

&lt;P&gt;I guess that "November Update" refers to Version 1511 which is too old for me, I'll try to work with VTune 2018 Update 1 and RS2, will contact you if I encounter any issues.&lt;/P&gt;

&lt;P&gt;Thank you for your assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 18:44:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138207#M16981</guid>
      <dc:creator>ginzberg__yehonatan</dc:creator>
      <dc:date>2018-06-27T18:44:25Z</dc:date>
    </item>
    <item>
      <title>Quote:Dmitry Ryabtsev (Intel)</title>
      <link>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138208#M16982</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Dmitry Ryabtsev (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;You can try the following:&lt;/P&gt;

&lt;P&gt;1. Copy the 'SGX Hotspots' analysis type&lt;/P&gt;

&lt;P&gt;2. In the appeared custom analysis check 'Collect Stacks' option&lt;/P&gt;

&lt;P&gt;3. Run your analysis&lt;/P&gt;

&lt;P&gt;4. In the opened result change viewpoint (using control at the top)&amp;nbsp;from 'Hardware Events' to 'Hotspots'&lt;/P&gt;

&lt;P&gt;Note that this method wasn't tested so no guarantee&amp;nbsp;it will work correctly.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;For the sake of completeness - after having an environment which fully supports SGX, attempting to follow the above instructions produced a call-graph up to the ecall. All the frames within the enclave are available but are being laid flat under the ecall (I guess call stack collection doesn't work within the enclave).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jun 2018 09:47:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/SGX-call-stack-collection-analysis/m-p/1138208#M16982</guid>
      <dc:creator>ginzberg__yehonatan</dc:creator>
      <dc:date>2018-06-30T09:47:04Z</dc:date>
    </item>
  </channel>
</rss>

