<?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 I also found no information in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146736#M17274</link>
    <description>&lt;P&gt;I also found no information about PMU virtualization enabling on VirtualBox.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Also in topic about VM profiling there is no VirtualBox mentioned as supported.&amp;nbsp;https://software.intel.com/en-us/vtune-amplifier-help-on-virtual-machine&lt;/P&gt;

&lt;P&gt;Are you able to change the VM to VMWare?&lt;/P&gt;

&lt;P&gt;- Pavel&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 14:59:15 GMT</pubDate>
    <dc:creator>PAVEL_G_Intel</dc:creator>
    <dc:date>2018-06-26T14:59:15Z</dc:date>
    <item>
      <title>All .NET Core code is shown as "[Outside any known module]" when running on Linux</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146733#M17271</link>
      <description>&lt;P&gt;I'm trying to profile a .NET Core 2.0 application on Linux using VTune as described on&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;A href="https://blogs.msdn.microsoft.com/dotnet/2017/10/23/net-core-performance-profiling-with-intel-vtune-amplifier-2018/" target="_blank"&gt;https://blogs.msdn.microsoft.com/dotnet/2017/10/23/net-core-performance-profiling-with-intel-vtune-amplifier-2018/&lt;/A&gt; The profiler runs, but when I view the results none of my .NET Core assemblies are shown and instead most of the time is spent in "[Outside any known module]":&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="https://i.imgur.com/8uFNwNp.png" /&gt;&lt;/P&gt;

&lt;P&gt;When I run the same binaries on Windows I get method names in top-down view:&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="" src="https://i.imgur.com/Ah5KHa1.png" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I'm running VTune Amplifier 2018 Update 3 on Windows 7 x64 and Ubuntu 16.04 x64. The Ubuntu machine is a VM running in Virtual Box.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Windows command line:&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;"C:\Program Files (x86)\IntelSWTools\VTune Amplifier 2018\bin64\amplxe-cl.exe" -collect hotspots -mrte-mode managed -- dotnet My.dll&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Linux commands:&amp;nbsp;&lt;/P&gt;

&lt;P&gt;sudo -i&lt;BR /&gt;
	source /opt/intel/vtune_amplifier/amplxe-vars.sh&lt;BR /&gt;
	echo 0 | sudo tee /proc/sys/kernel/watchdog &amp;gt;/dev/null&lt;BR /&gt;
	echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope &amp;gt;/dev/null&lt;BR /&gt;
	echo 0 | sudo tee /proc/sys/kernel/kptr_restrict &amp;gt;/dev/null&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;amplxe-cl -collect hotspots -mrte-mode managed -run-pass-thru=--no-altstack -r ~/vtune/out -- My.dll&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;
	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;The "-run-pass-thru=--no-altstack" is to suppress the following error: "&lt;/SPAN&gt;amplxe: Error: Stack size provided to sigaltstack is too small. Please increase the stack size to 64K minimum." I don't know if that's related to the problem or not.&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;How do I get it to show the method names on Linux?&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 13:22:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146733#M17271</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2018-06-26T13:22:02Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146734#M17272</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Did you try to run advanced-hotspots against hotspots?&lt;/P&gt;

&lt;P&gt;- Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 14:35:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146734#M17272</guid>
      <dc:creator>PAVEL_G_Intel</dc:creator>
      <dc:date>2018-06-26T14:35:32Z</dc:date>
    </item>
    <item>
      <title>Yes, but that fails on Linux:</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146735#M17273</link>
      <description>&lt;P&gt;Yes, but that fails on Linux:&lt;/P&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;amplxe: Error:&amp;nbsp; Cannot enable event-based sampling collection: Architectural Performance Monitoring version is 0. Make sure the &amp;lt;a web-link="https://software.intel.com/en-us/vtune-amplifier-help-on-virtual-machine"&amp;gt;vPMU feature is enabled&amp;lt;/a&amp;gt; in your hypervisor.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I should have mentioned that the Linux machine is a VM, running in VirtualBox - edited that in now. I'm not sure how to enable the "vPMU feature" and that link doesn't tell me. When I run Advanced Hotspots on Windows (from the GUI) it shows very few of my assembly's methods - the main thread seems to be missing, but some methods that run on background threads are shown.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 14:46:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146735#M17273</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2018-06-26T14:46:11Z</dc:date>
    </item>
    <item>
      <title>I also found no information</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146736#M17274</link>
      <description>&lt;P&gt;I also found no information about PMU virtualization enabling on VirtualBox.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Also in topic about VM profiling there is no VirtualBox mentioned as supported.&amp;nbsp;https://software.intel.com/en-us/vtune-amplifier-help-on-virtual-machine&lt;/P&gt;

&lt;P&gt;Are you able to change the VM to VMWare?&lt;/P&gt;

&lt;P&gt;- Pavel&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 14:59:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146736#M17274</guid>
      <dc:creator>PAVEL_G_Intel</dc:creator>
      <dc:date>2018-06-26T14:59:15Z</dc:date>
    </item>
    <item>
      <title>I tried it on an AWS Linux</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146737#M17275</link>
      <description>&lt;P&gt;I tried it on an AWS Linux instances and the result is the same - no .NET assemblies in basic hotspot analysis, "make sure vPMU is enabled" when trying advanced analysis. Even if it did run in VMware that wouldn't help me, because AWS&amp;nbsp;is where I'm actually experiencing the performance problem I need to profile (though the application may eventually be run on a physical server, too).&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 16:11:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146737#M17275</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2018-06-26T16:11:45Z</dc:date>
    </item>
    <item>
      <title>Unfortunately you are not</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146738#M17276</link>
      <description>&lt;P&gt;Unfortunately you are not able to collect .Net stacks &lt;SPAN style="font-size: 13.008px;"&gt;on linux with hotspots&lt;/SPAN&gt;.&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;To enable advanced hotspots VTune Amplifier need access to hardware counters. So the solutions for you: run collection in virtual machine with PMU virtualization or on physical machine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 12:10:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146738#M17276</guid>
      <dc:creator>PAVEL_G_Intel</dc:creator>
      <dc:date>2018-06-27T12:10:49Z</dc:date>
    </item>
    <item>
      <title>That's very disappointing -</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146739#M17277</link>
      <description>&lt;P&gt;That's very disappointing - both the limitation itself and the fact that it's not properly documented. I wasted a lot of time trying to do something that, apparently, never had a chance of working.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Firstly, VTune should have clearly told me: H&lt;/SPAN&gt;&lt;EM style="font-size: 1em;"&gt;ey, I see you're running basic hotspot analysis on a .NET Core application on Linux! Guess what? The results are going to be useless! Try advanced instead.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Secondly, the error message about PMU when running advanced analysis, or the linked page, should have clearly said that there is no way to enable PMU on hypervisors other than the supported ones listed there.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 13:04:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146739#M17277</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2018-06-27T13:04:01Z</dc:date>
    </item>
    <item>
      <title>EM, thank you for your</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146740#M17278</link>
      <description>&lt;P&gt;EM, thank you for your feedback. Support of .NET Core apps in VTune is available on Windows and Linux and it's limited by the Launch mode and Advanced Hotspots analysis type (&lt;A href="http://software.intel.com/en-us/vtune-amplifier-cookbook-profiling-a-net-core-application"&gt;more details&lt;/A&gt;).&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;Sorry about wasting of your time. I absolutely agree with your concern: VTune should inform clearly if a certain capabilities are not available for .NET Core. It's a subject for improvement for us. About&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;the error message about PMU, typically it's not a problem to enable event-based sampling on the virtual machine if you virtualize performance counters (&lt;A href="https://software.intel.com/en-us/vtune-amplifier-help-on-virtual-machine"&gt;more details&lt;/A&gt;) but you run app in Amazon cloud and have not control on the hypervisor. Do you have a chance to you use either the&lt;A href="https://aws.amazon.com/ru/blogs/aws/new-amazon-ec2-bare-metal-instances-with-direct-access-to-hardware/"&gt; Bare metal &lt;/A&gt;instances&amp;nbsp;or C5 instances in Amazon cloud? Can you run profiling on your own Windows-based machine? Are interested in Basic Hotspots or other analysis types also?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 14:36:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146740#M17278</guid>
      <dc:creator>Denis_P_Intel</dc:creator>
      <dc:date>2018-06-27T14:36:05Z</dc:date>
    </item>
    <item>
      <title>I cannot run the profiling</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146741#M17279</link>
      <description>&lt;P&gt;I cannot run the profiling only on Windows, because the problem I'm trying to troubleshoot is that our application&amp;nbsp;performs significantly differently on Windows and Linux. This is why I have 2 AWS instances of the same type, one Windows and one Linux, to hopefully do a fair comparison. I may be able to test it on C5 instances, yes. Is it known to work on those? I'd just like to check that, before I spend the time setting it up.&lt;/P&gt;

&lt;P&gt;Additionally, there is the problem that Advanced Analysis does not produce meaningful results even on my physical Windows 7 machine. As I mentioned above, the results contain very few of my methods - the main method and its callees are missing, but some background thread methods are present.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;By the way, I see warnings like this on Windows, both for my assemblies and some NuGet packages:&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Cannot locate file `...\My.dll'. `...\My.dll' does not have code of the expected architecture. Make sure to specify the correct path to the file in the Binary/Symbol Search list of directories.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;Cannot locate file `...\.nuget\packages\newtonsoft.json\10.0.3\lib\netstandard1.3\Newtonsoft.Json.dll'. `...\.nuget\packages\newtonsoft.json\10.0.3\lib\netstandard1.3\Newtonsoft.Json.dll' does not have code of the expected architecture. Make sure to specify the correct path to the file in the Binary/Symbol Search list of directories.&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;They happen for both Basic and Advanced hotspot analysis, and Basic shows method names, so I don't think that's related to the problem above, but mentioning it just in case.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:57:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146741#M17279</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2018-06-28T07:57:40Z</dc:date>
    </item>
    <item>
      <title>We tested VTune on a AWS</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146742#M17280</link>
      <description>&lt;P&gt;We tested VTune on a AWS Linux-based C5 instance (it works just fine) and did not test on Windows instance. We may perform testing on AWS Windows-based instance but please expect that it will take some time. Regarding&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;meaningful results on a physical Windows 7 machine, did you run&amp;nbsp;Advanced Analysis in Launch mode but not Attach, right?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 09:30:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146742#M17280</guid>
      <dc:creator>Denis_P_Intel</dc:creator>
      <dc:date>2018-06-28T09:30:02Z</dc:date>
    </item>
    <item>
      <title>Yes, that was for Launch mode</title>
      <link>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146743#M17281</link>
      <description>&lt;P&gt;Yes, that was for Launch mode. When I run Advanced Analysis in Attach mode I don't see any of my methods or modules at all. I've really tried everything I could think of and I can only get some meaningful results when:&lt;/P&gt;

&lt;P&gt;* Running on Windows&lt;BR /&gt;
	* As Administrator&lt;BR /&gt;
	* In Launch Mode&lt;BR /&gt;
	* With Basic Hotspot analysis&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 09:45:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/All-NET-Core-code-is-shown-as-quot-Outside-any-known-module-quot/m-p/1146743#M17281</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2018-06-28T09:45:50Z</dc:date>
    </item>
  </channel>
</rss>

