<?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 Hi: in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935977#M7339</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;

&lt;P&gt;Usually, addresses within a *known* module but without symbol information are shown as "[modulename]", for example, you should have seen "[vmlinux]". &amp;nbsp;The fact that it says "[Outside any known module]" indicates more basic information is missing. What kind of platform is it? &amp;nbsp;Is it a tablet or some other mobile/handheld device?&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2013 16:36:51 GMT</pubDate>
    <dc:creator>David_A_Intel1</dc:creator>
    <dc:date>2013-12-11T16:36:51Z</dc:date>
    <item>
      <title>resolving linux kernel addresses</title>
      <link>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935976#M7338</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am trying to profile an application using VTune Amplifier (downloaded a few days ago, evaluating period). VTune shows that most of the time is spent "[Outside any known module]". By switching to "Module/Code Location/Call Stack" in the "Bottom-up" tab I can see that the virtual addresses belong to the kernel, but I would like to see the addresses resolved.&lt;/P&gt;

&lt;P&gt;Please note that I have already googled for answers, but nothing worked. Maybe useful info:&lt;/P&gt;

&lt;P&gt;- I am using Ubuntu 13.10, kernel vmlinuz-3.11.0-15-generic;&lt;/P&gt;

&lt;P&gt;- I have downloaded the Ubuntu-provided uncompressed kernel image with debug info. It is in /usr/lib/debug/boot/vmlinux-3.11.0-15-generic;&lt;/P&gt;

&lt;P&gt;- I have added a symbolic link /usr/lib/debug/boot/vmlinux to the above file, just in case.&lt;/P&gt;

&lt;P&gt;- I have added /usr/lib/debug/boot to the "Search Directories" in "Project Properties-&amp;gt;Binary/Symbol Search";&lt;/P&gt;

&lt;P&gt;- I am able to resolve the addresses shown by VTune by using "addr2line -e /usr/lib/debug/boot/vmlinux-3.11.0-15-generic".&lt;/P&gt;

&lt;P&gt;I am doing something wrong, but I am stuck. Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 09:49:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935976#M7338</guid>
      <dc:creator>Giuseppe_L_</dc:creator>
      <dc:date>2013-12-11T09:49:21Z</dc:date>
    </item>
    <item>
      <title>Hi:</title>
      <link>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935977#M7339</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;

&lt;P&gt;Usually, addresses within a *known* module but without symbol information are shown as "[modulename]", for example, you should have seen "[vmlinux]". &amp;nbsp;The fact that it says "[Outside any known module]" indicates more basic information is missing. What kind of platform is it? &amp;nbsp;Is it a tablet or some other mobile/handheld device?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:36:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935977#M7339</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2013-12-11T16:36:51Z</dc:date>
    </item>
    <item>
      <title>No, it is just a PC, with an</title>
      <link>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935978#M7340</link>
      <description>&lt;P&gt;No, it is just a PC, with an i7-3930K CPU at 3.2GHz and a standard Ubuntu installation. Is there anything that I can check?&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 16:47:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935978#M7340</guid>
      <dc:creator>Giuseppe_L_</dc:creator>
      <dc:date>2013-12-11T16:47:26Z</dc:date>
    </item>
    <item>
      <title>Ah!  So, it may be that 13.10</title>
      <link>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935979#M7341</link>
      <description>&lt;P&gt;Ah! &amp;nbsp;So, it may be that 13.10 is not supported yet. &amp;nbsp;Reviewing the release notes shows "Ubuntu* 10.04, 11.04, 11.10, 12.04 and 13.04" are supported by the latest release, Update 14. &amp;nbsp;Let me see what I can find out.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 00:21:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935979#M7341</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2013-12-12T00:21:17Z</dc:date>
    </item>
    <item>
      <title>Hi Giuseppe:</title>
      <link>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935980#M7342</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Giuseppe:&lt;/P&gt;

&lt;P&gt;This is working for us. &amp;nbsp;Can you tell me:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;What analysis type did you use?&lt;/LI&gt;
	&lt;LI&gt;Are you running as root or non-root?&lt;/LI&gt;
	&lt;LI&gt;if advanced hotspots, did you include stacks? &amp;nbsp;Call counts?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 17:26:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935980#M7342</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2013-12-12T17:26:19Z</dc:date>
    </item>
    <item>
      <title>Ah, okay.  It seems to be a</title>
      <link>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935981#M7343</link>
      <description>&lt;P&gt;Ah, okay. &amp;nbsp;It seems to be a limitation due to your kernel configuration. &amp;nbsp;As root, execute the command:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;$&amp;nbsp;cat&amp;nbsp;/proc/sys/kernel/kptr_restrict&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If the value is non-zero, then execute:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;$&amp;nbsp;echo "0" &amp;gt; /proc/sys/kernel/kptr_restrict&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;and try collecting results, again.&lt;/P&gt;

&lt;P&gt;See &lt;A href="http://software.intel.com/sites/default/files/managed/76/26/release-notes-amplifier-linux-update14.pdf"&gt;Release Note&lt;/A&gt; #200311949.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2013 18:52:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935981#M7343</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2013-12-12T18:52:12Z</dc:date>
    </item>
    <item>
      <title>Now it really works, and it</title>
      <link>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935982#M7344</link>
      <description>&lt;P&gt;Now it really works, and it is great! Thank you very much for the prompt replies.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2013 08:41:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/resolving-linux-kernel-addresses/m-p/935982#M7344</guid>
      <dc:creator>Giuseppe_L_</dc:creator>
      <dc:date>2013-12-13T08:41:48Z</dc:date>
    </item>
  </channel>
</rss>

