<?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  What binary module has  in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165015#M17892</link>
    <description>&lt;P&gt;&amp;nbsp;What binary module has "unknown source file" for functions? If it is your module built with debug information, could you share a reproducer: the module, its .pdb file (if it exists),&amp;nbsp;build options and VTune result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If system modules do not have source line information and there&amp;nbsp;are no warnings about them in VTune finalization log, that likely means&amp;nbsp;.PDBs do not have&amp;nbsp;information about source locations.&lt;BR /&gt;&amp;nbsp;As for libgomp-1.dll, I would suggest contacting the library vendor.&lt;BR /&gt;And do you really want to profile system modules? Having debug information for modules of a user application is usually enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2020 09:20:40 GMT</pubDate>
    <dc:creator>Denis_M_Intel</dc:creator>
    <dc:date>2020-04-20T09:20:40Z</dc:date>
    <item>
      <title>Can't view the source code for functions</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165010#M17887</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am trying to profile a C++ application with OpenMP using Intel Vtune Profiler. According to Intel Tutorial (https://software.intel.com/en-us/download/tutorial-finding-hotspots-c-sample-application-windows) I have run Hotspots Analysis and found the most time-consuming functions. In the tutorial functions' sources are shown in the Call Stack&amp;nbsp;pane (see "guide" picture). However, in my case in the Call Stack pane it is written that almost all of functions have [unknown source file], so&amp;nbsp;I can't find their source (see "reality" picture).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tell me, please what should I do to find the source of these functions?&lt;/STRONG&gt;&lt;BR /&gt;Many thanks! :)&lt;/P&gt;&lt;P&gt;P.S. I have compiled this application (q.exe) using NetBeans with MinGW. I have tried to run Hotspots Analysis in both Debug and Release modes, but still have no success.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 17:47:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165010#M17887</guid>
      <dc:creator>GVasi4</dc:creator>
      <dc:date>2020-04-16T17:47:09Z</dc:date>
    </item>
    <item>
      <title>Grigorii,</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165011#M17888</link>
      <description>&lt;P&gt;Grigorii,&lt;/P&gt;&lt;P&gt;&amp;nbsp; For MinGW binaries VTune expects debugging information in DWARF format. Make sure your application is built with &amp;nbsp;-g or -gdwarf-version option. You can find more details here: &lt;A href="https://software.intel.com/en-us/vtune-help-debug-info-for-linux-binaries" target="_blank"&gt;https://software.intel.com/en-us/vtune-help-debug-info-for-linux-binaries&lt;/A&gt;.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 20:23:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165011#M17888</guid>
      <dc:creator>Denis_M_Intel</dc:creator>
      <dc:date>2020-04-16T20:23:34Z</dc:date>
    </item>
    <item>
      <title>Dear Denis Mochanov,</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165012#M17889</link>
      <description>&lt;P&gt;Dear Denis Mochanov,&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your help! I have checked compiler options and it has&amp;nbsp;-g one. I have added -gdwarf-4 and some of functions have their source now.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;However, most of them (for example, the most time-consuming in the "reality" picture) still have&amp;nbsp;[unknown source file].&lt;/STRONG&gt; Also, I have a list of warnings after I had run Hotspot Analysis (see "warnings" picture). (I haven't mentioned it, I have Windows 10)&lt;BR /&gt;&lt;BR /&gt;I've read here&amp;nbsp;https://software.intel.com/en-us/vtune-help-debug-information-for-windows-application-binaries that&amp;nbsp;for windows binaries VTune expects debugging information in PDB format. But I haven't found information about how to enable it in NetBeans.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 06:11:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165012#M17889</guid>
      <dc:creator>GVasi4</dc:creator>
      <dc:date>2020-04-17T06:11:08Z</dc:date>
    </item>
    <item>
      <title>.PDB files are needed for</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165013#M17890</link>
      <description>&lt;P&gt;.PDB files are needed for native Windows binaries, not MingGW ones.&lt;/P&gt;&lt;P&gt;Warnings on the last picture are about system libraries. System libraries usually do not have debugging information and you can ignore them but there is a way to download .PDBs for WIndows system binaries:&amp;nbsp;https://software.intel.com/en-us/vtune-help-debug-information-for-windows-system-libraries.&amp;nbsp;&lt;BR /&gt;I guess libgomp-1 also doesn't have debug info; its debug version&amp;nbsp;is needed to get sybmols and source locations.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 07:36:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165013#M17890</guid>
      <dc:creator>Denis_M_Intel</dc:creator>
      <dc:date>2020-04-17T07:36:16Z</dc:date>
    </item>
    <item>
      <title>Dear Denis Mochanov,</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165014#M17891</link>
      <description>&lt;P&gt;Dear Denis Mochanov,&lt;/P&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;P&gt;I have tried to download PDBs for Windows like in the way you mentioned (options 2,3) and most of warnings have disappeared (now I only have the last one). &lt;STRONG&gt;However, functions still have [unknown source file] in both Debug and Release modes with different compiler options.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I also kindly ask to help me to find debug versions of libgomp-1.dll&amp;nbsp;for Windows.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 17:35:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165014#M17891</guid>
      <dc:creator>GVasi4</dc:creator>
      <dc:date>2020-04-17T17:35:46Z</dc:date>
    </item>
    <item>
      <title> What binary module has</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165015#M17892</link>
      <description>&lt;P&gt;&amp;nbsp;What binary module has "unknown source file" for functions? If it is your module built with debug information, could you share a reproducer: the module, its .pdb file (if it exists),&amp;nbsp;build options and VTune result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If system modules do not have source line information and there&amp;nbsp;are no warnings about them in VTune finalization log, that likely means&amp;nbsp;.PDBs do not have&amp;nbsp;information about source locations.&lt;BR /&gt;&amp;nbsp;As for libgomp-1.dll, I would suggest contacting the library vendor.&lt;BR /&gt;And do you really want to profile system modules? Having debug information for modules of a user application is usually enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 09:20:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165015#M17892</guid>
      <dc:creator>Denis_M_Intel</dc:creator>
      <dc:date>2020-04-20T09:20:40Z</dc:date>
    </item>
    <item>
      <title>Dear Denis Mochanov,</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165016#M17893</link>
      <description>&lt;P&gt;Dear Denis Mochanov,&lt;/P&gt;&lt;P&gt;Thank you for your reply!&lt;/P&gt;&lt;P&gt;There are several modules which have [unknown source file] everywhere or partly&amp;nbsp;- see "modules" picture (it is another example of Hotspot Analysis of this application). The application (q.exe) itself has little [unknown source file], but I think it is not important, most of the functions from the application have their source file.&lt;/P&gt;&lt;P&gt;I don't want to profile system modules, but &lt;STRONG&gt;I want to understand which parts of the source code I should change to optimize the application&lt;/STRONG&gt;. The most-time consuming functions are not from source .cpp files (see the "reality" picture in my first post).&lt;/P&gt;&lt;P&gt;I think that the idea is to determine which functions are the most time-consuming and then change code (use another functions/change algorithm so that these functions are called less times/rewrite the code in a completely different way).&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 12:20:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165016#M17893</guid>
      <dc:creator>GVasi4</dc:creator>
      <dc:date>2020-04-20T12:20:08Z</dc:date>
    </item>
    <item>
      <title>  Your application spends</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165017#M17894</link>
      <description>&lt;P&gt;&amp;nbsp; Your application spends much time in libgomp library. That could be caused by several reasons, some of them are described in the following article:&amp;nbsp;&lt;A href="https://software.intel.com/en-us/vtune-cookbook-openmp-code-analysis-method"&gt;https://software.intel.com/en-us/vtune-cookbook-openmp-code-analysis-method&lt;/A&gt;.&lt;BR /&gt;Debug information for libgomp might help to understand what happens.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 13:17:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165017#M17894</guid>
      <dc:creator>Denis_M_Intel</dc:creator>
      <dc:date>2020-04-20T13:17:15Z</dc:date>
    </item>
    <item>
      <title>Dear Denis Mochanov,</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165018#M17895</link>
      <description>&lt;P&gt;Dear Denis Mochanov,&lt;/P&gt;&lt;P&gt;Thank you for your reply!&lt;BR /&gt;&lt;BR /&gt;This article starts with "To analyze OpenMP parallel regions, make sure to compile and run your code with the Intel® Compiler 13.1 Update 2 or higher", but I compile&amp;nbsp;my application using MinGW on Windows. But then there is an example about how to&amp;nbsp;install GCC debug information on Fedora. Is there a similar way to do it in Windows for MinGW?&lt;BR /&gt;I am trying to find debug versions of&amp;nbsp;libgomp (for example, in the MinGW installation manager), but still have no success. It is the best of what I've found:&amp;nbsp;https://reposcope.com/package/libgomp1-debuginfo, but it is for OpenSUSE.&lt;BR /&gt;&lt;BR /&gt;P.S. I've tried to run Threading analysis to inspect OpenMP part of the program, but have reached limit of 1000 MB in a few minutes.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 20:05:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165018#M17895</guid>
      <dc:creator>GVasi4</dc:creator>
      <dc:date>2020-04-20T20:05:07Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165019#M17896</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is your issue resolved?Would you like us to forward the case to SME?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 13:04:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165019#M17896</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2020-04-23T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Hi!</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165020#M17897</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;Unfortunately, the problem hasn't been completely solved :(&lt;BR /&gt;I am trying to use other ways to figure out how I should change the code.&lt;BR /&gt;Please tell what is SME? :)&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 13:13:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165020#M17897</guid>
      <dc:creator>GVasi4</dc:creator>
      <dc:date>2020-04-23T13:13:27Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165021#M17898</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;SME is Subject Matter Expert.Since your issue is not resolved we are forwarding the case to SME.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 12:16:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165021#M17898</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2020-04-24T12:16:25Z</dc:date>
    </item>
    <item>
      <title>Hello</title>
      <link>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165022#M17899</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;1. as Denis wrote you need to compile _your_ program with debug info.&lt;/P&gt;&lt;P&gt;2. "reality.png" shows that the problem is on barrier overhead inside openmp runtime. do you have enough compute inside the parallel region?&lt;/P&gt;&lt;P&gt;Vladimir&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 16:06:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Can-t-view-the-source-code-for-functions/m-p/1165022#M17899</guid>
      <dc:creator>Vladimir_P_1234567890</dc:creator>
      <dc:date>2020-05-20T16:06:58Z</dc:date>
    </item>
  </channel>
</rss>

