<?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: Problem getting VTune to instrument code with a custom kern in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Problem-getting-VTune-to-instrument-code-with-a-custom-kernel/m-p/994913#M11720</link>
    <description>&lt;DIV&gt;Any time you change the kernel, you will need to rebuild the driver (build-driver script) as root. If this succeeds, the driver will be loaded (use 'lsmod' and look for a driver witha name that starts with 'vtune_drv')and you can run a sampling activity.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;An application module like testProgram.o should never show up in Other32, unless the driver does not match the kernel (that is what the build-driver script is for). However, without symbols for the kernel, you may see samples in Other32. Building the kernel with -g is all that should be required. Just make sure the symbols aren't stripped in the finally link step of the build.&lt;/DIV&gt;</description>
    <pubDate>Tue, 01 Mar 2005 02:45:42 GMT</pubDate>
    <dc:creator>David_A_Intel1</dc:creator>
    <dc:date>2005-03-01T02:45:42Z</dc:date>
    <item>
      <title>Problem getting VTune to instrument code with a custom kernel...</title>
      <link>https://community.intel.com/t5/Analyzers/Problem-getting-VTune-to-instrument-code-with-a-custom-kernel/m-p/994912#M11719</link>
      <description>&lt;DIV&gt;&lt;FONT size="2"&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face="Times New Roman"&gt;With a standard Redhat Enterprise 3.0WS installation running on a Pentium M, using a Sampling Activity, I have successfully analysed an object file (testProgram.o). I can drill down into this object and see in which functions the CPU is being spent etc... &lt;P&gt;&lt;/P&gt;
&lt;P&gt;My problem is that after creating a custom kernel, VTune can no longer instrument this object file. It seems to have categorised it under the "other32" module. I've rebuilt the kernel again with the gcc -g option enabled in the top level Makefile under CFLAGS and CFLAGS_KERNEL but this seems to have had no effect. &lt;/P&gt;
&lt;P&gt;I ran the /opt/intel/vtune/vdk/src/build-kernel script which reported that the sampling driver failed to build successfully, but there was no apparent warnings/errors reported. Running the build-driver script from the same directory passes. &lt;/P&gt;
&lt;P&gt;Are there any specific kernel options that I should have enabled for this to work?&lt;/P&gt;
&lt;P&gt;Any help you can give would be appreciated. &lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Feb 2005 17:52:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Problem-getting-VTune-to-instrument-code-with-a-custom-kernel/m-p/994912#M11719</guid>
      <dc:creator>Adrian_H_Intel</dc:creator>
      <dc:date>2005-02-28T17:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem getting VTune to instrument code with a custom kern</title>
      <link>https://community.intel.com/t5/Analyzers/Problem-getting-VTune-to-instrument-code-with-a-custom-kernel/m-p/994913#M11720</link>
      <description>&lt;DIV&gt;Any time you change the kernel, you will need to rebuild the driver (build-driver script) as root. If this succeeds, the driver will be loaded (use 'lsmod' and look for a driver witha name that starts with 'vtune_drv')and you can run a sampling activity.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;An application module like testProgram.o should never show up in Other32, unless the driver does not match the kernel (that is what the build-driver script is for). However, without symbols for the kernel, you may see samples in Other32. Building the kernel with -g is all that should be required. Just make sure the symbols aren't stripped in the finally link step of the build.&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Mar 2005 02:45:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Problem-getting-VTune-to-instrument-code-with-a-custom-kernel/m-p/994913#M11720</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2005-03-01T02:45:42Z</dc:date>
    </item>
  </channel>
</rss>

