<?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 Re:About vmlinux debug symbols in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1223212#M19554</link>
    <description>&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You could use -search-dir flag with vtune to specify directories to search symbols in command line. You can find more details about this at the below link.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/running-command-line-analysis/configuring-analysis-options-from-the-command-line/specifying-search-directories.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/running-command-line-analysis/configuring-analysis-options-from-the-command-line/specifying-search-directories.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Additionally once you have installed the kernel with debug symbols have you tried rebuilding the drivers with the new kernel. The below link has steps to rebuild drivers&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/building-and-installing-the-sampling-drivers-for-linux-targets.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/building-and-installing-the-sampling-drivers-for-linux-targets.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you are still facing the issue could you provide us with the below details to debug this further.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1)Are you trying to view the results in same machine in which you collect data or are you downloading the resultsto some other machine for viewing.&lt;/P&gt;&lt;P&gt;2)Could you also let us know the exact error message.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 27 Oct 2020 09:55:51 GMT</pubDate>
    <dc:creator>ArunJ_Intel</dc:creator>
    <dc:date>2020-10-27T09:55:51Z</dc:date>
    <item>
      <title>About vmlinux debug symbols</title>
      <link>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1222982#M19550</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am currently running vtune to collect trace for my application, and a large portion of time is spent on vmlinux. I do want to generate report with more information about functions inside [vmlinux]. I am trying to follow the&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/enabling-linux-kernel-analysis.html" target="_self"&gt;enabling-linux-kernel-analysis&lt;/A&gt;&amp;nbsp;tutorial, and I am currently having some questions:&lt;/P&gt;
&lt;P&gt;My Background settings: Ubuntu 18.04, kernel version&amp;nbsp;&lt;SPAN class="s1"&gt;5.4.0-42-generic&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For debug symbols, I use this command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo apt-get install linux-image-$(uname -r)-dbgsym&lt;/LI-CODE&gt;
&lt;P data-unlink="true"&gt;What I get is a file called&amp;nbsp;&lt;SPAN class="s1"&gt;vmlinux-5.4.0-42-generic under&amp;nbsp;/usr/lib/debug/boot/. According to the tutorial, I should let vtune know that the debug symbol is there, but I was using terminal and did not find a way to easily open&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Dialog Box: Binary/Symbol Search, so I find this document on&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-project/search-directories/search-order.html" target="_self"&gt;default search path&lt;/A&gt;&amp;nbsp;, and put the file there(&lt;SPAN&gt;/usr/lib/debug/lib/modules/`uname -r`/vmlinux&lt;/SPAN&gt;). I tried creating a folder vmlinux, change the file name, change the file name and put under the folder, none of them worked. When I run vtune, it still cannot find the vmlinux.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN class="s1"&gt;My question is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN class="s1"&gt;1. Is there a way to set the symbol search path in terminal?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;SPAN class="s1"&gt;2. How does the debug symbols worked? I am sorry that this might be a stupid question, but I am not familiar with kernel and was wondering whether just loading the&amp;nbsp;vmlinux-5.4.0-42-generic is enough for vtune to get symbols, or do I still need to recompile the kernel with debug symbol?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 19:29:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1222982#M19550</guid>
      <dc:creator>jing</dc:creator>
      <dc:date>2020-10-26T19:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: About vmlinux debug symbols</title>
      <link>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1223209#M19553</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;It should be enough to specify the search path; recompilation of the kernel is not required. You can use the &lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/running-command-line-analysis/configuring-analysis-options-from-the-command-line/specifying-search-directories.html" target="_self"&gt;&lt;STRONG&gt;-search-dir&lt;/STRONG&gt;&lt;/A&gt; option:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;vtune -collect u-e -search-dir /usr/lib/debug/boot/ ...&lt;/LI-CODE&gt;
&lt;P&gt;It is also possible to re-finalize an existing result:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;vtune -fin -search-dir /usr/lib/debug/boot/ -r &amp;lt;result_path&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 09:51:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1223209#M19553</guid>
      <dc:creator>Denis_M_Intel</dc:creator>
      <dc:date>2020-10-27T09:51:07Z</dc:date>
    </item>
    <item>
      <title>Re:About vmlinux debug symbols</title>
      <link>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1223212#M19554</link>
      <description>&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You could use -search-dir flag with vtune to specify directories to search symbols in command line. You can find more details about this at the below link.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/running-command-line-analysis/configuring-analysis-options-from-the-command-line/specifying-search-directories.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/command-line-interface/running-command-line-analysis/configuring-analysis-options-from-the-command-line/specifying-search-directories.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Additionally once you have installed the kernel with debug symbols have you tried rebuilding the drivers with the new kernel. The below link has steps to rebuild drivers&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/building-and-installing-the-sampling-drivers-for-linux-targets.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/linux-targets/building-and-installing-the-sampling-drivers-for-linux-targets.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you are still facing the issue could you provide us with the below details to debug this further.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1)Are you trying to view the results in same machine in which you collect data or are you downloading the resultsto some other machine for viewing.&lt;/P&gt;&lt;P&gt;2)Could you also let us know the exact error message.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Oct 2020 09:55:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1223212#M19554</guid>
      <dc:creator>ArunJ_Intel</dc:creator>
      <dc:date>2020-10-27T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re:About vmlinux debug symbols</title>
      <link>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1223529#M19556</link>
      <description>&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have you tried out the solutions provided?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Oct 2020 07:36:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1223529#M19556</guid>
      <dc:creator>ArunJ_Intel</dc:creator>
      <dc:date>2020-10-28T07:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re:About vmlinux debug symbols</title>
      <link>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1224225#M19568</link>
      <description>&lt;P&gt;Sorry for the late reply. I just tried, and it is working now. Thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 20:22:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1224225#M19568</guid>
      <dc:creator>jing</dc:creator>
      <dc:date>2020-10-30T20:22:25Z</dc:date>
    </item>
    <item>
      <title>Re:About vmlinux debug symbols</title>
      <link>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1224588#M19573</link>
      <description>&lt;P&gt;Thanks Jing for the confirmation. We wouldn't be monitoring this thread anymore. Please raise a new thread in case of further issues.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Nov 2020 06:35:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/About-vmlinux-debug-symbols/m-p/1224588#M19573</guid>
      <dc:creator>ArunJ_Intel</dc:creator>
      <dc:date>2020-11-02T06:35:05Z</dc:date>
    </item>
  </channel>
</rss>

