<?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 Using VTune on Linux Kernal modules? in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814489#M2027</link>
    <description>When I do runin lightweight hotspotsI still see the same behavior.&lt;BR /&gt;&lt;BR /&gt;The drivers are compiled with source, and an objdump on the .ko's shows source and assembly.&lt;BR /&gt;&lt;BR /&gt;They are installed with modprobe in the correct path:&lt;BR /&gt;&lt;PRE&gt;[bash][root@san-panther panther]# modprobe -l | grep extra
extra/rrprofile/rrprofile.ko
extra/rrnotify/rrnotify.ko
extra/dre_drv/dre_drv.ko
extra/dre_drv/demo.ko
[root@san-panther panther]# ls /lib/modules/`uname -r`/extra/dre_drv -l
total 0
lrwxrwxrwx 1 root root 30 Feb 4 19:20 demo.ko -&amp;gt; /home/tbroberg/panther/demo.ko
lrwxrwxrwx 1 root root 33 Feb 3 18:29 dre_drv.ko -&amp;gt; /home/tbroberg/panther/dre_drv.ko
[/bash]&lt;/PRE&gt;&lt;BR /&gt;Any further tips on debugging this?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt; - Tim.</description>
    <pubDate>Mon, 07 Feb 2011 18:54:02 GMT</pubDate>
    <dc:creator>Tim_Broberg</dc:creator>
    <dc:date>2011-02-07T18:54:02Z</dc:date>
    <item>
      <title>Using VTune on Linux Kernal modules?</title>
      <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814485#M2023</link>
      <description>Is it possible to use VTune on Linux Kernal modules?&lt;BR /&gt;&lt;BR /&gt;When I try to use &lt;EM&gt;Vtune Amplifier XE 2011 for Linux&lt;/EM&gt; to profile an application that calls my linux module, the &lt;EM&gt;Bottom-up&lt;/EM&gt; tab shows a line with statistics for the driver as if it were a module, but in brackets - [my_module]. ...but when I double-click on this instead if seeing the source code I get a tab titled "Unknown" with the text "Failed to show source and assembly code."&lt;BR /&gt;&lt;BR /&gt;I'm running this under Fedora 13. The module and source are built in the same directory as the applications, and I tried manually adding this directory (and all subdirectories) to the search path, even though vtune is finding the application source just fine. I also added rw permission to all the files in this directory in case that was tripping vtune up.&lt;BR /&gt;&lt;BR /&gt;I thoughtI had recalled doing stuff like this in Vtune for Windows a few years back, but perhaps I misremember or this is only supported under Windows.&lt;BR /&gt;&lt;BR /&gt;I don't see anything in the documentation specifically describing whether kernel profiling is supported or not and if so, how.&lt;BR /&gt;&lt;BR /&gt;Is assembly / source-level profile of the kernel just out of scope for VTune for Linux, or am I missing something?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt; - Tim.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Jan 2011 01:05:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814485#M2023</guid>
      <dc:creator>Tim_Broberg</dc:creator>
      <dc:date>2011-01-28T01:05:24Z</dc:date>
    </item>
    <item>
      <title>Using VTune on Linux Kernal modules?</title>
      <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814486#M2024</link>
      <description>&lt;P&gt;Hi Tim,&lt;/P&gt;

&lt;P&gt;The Hotspots,
Concurrency, and Locks and Waits types of analysis are the user-mode analysis
types (see the 'About Performance Analysis with VTune Amplifier XE' and
specifically the 'User-Mode Sampling and Tracing Collection' chapters in the VTune
Amplifier XE Help system). So, with that types of analysis you can't profile
system level modules.&lt;/P&gt;

&lt;P&gt;However,
you can use the Lightweight Hotspots analysis for profiling the whole system
including your system modules (see the 'Lightweight Hotspots Analysis' chapter).&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2011 09:19:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814486#M2024</guid>
      <dc:creator>Vladimir_T_Intel</dc:creator>
      <dc:date>2011-01-28T09:19:02Z</dc:date>
    </item>
    <item>
      <title>Using VTune on Linux Kernal modules?</title>
      <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814487#M2025</link>
      <description>Ok, thanks.&lt;BR /&gt;&lt;BR /&gt;Any hints on debugging "Failed to show source and assembly code?"</description>
      <pubDate>Fri, 28 Jan 2011 23:56:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814487#M2025</guid>
      <dc:creator>Tim_Broberg</dc:creator>
      <dc:date>2011-01-28T23:56:25Z</dc:date>
    </item>
    <item>
      <title>Using VTune on Linux Kernal modules?</title>
      <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814488#M2026</link>
      <description>The"Failed to show source and assembly code" seems to be a normal behaviour of theHotspots, Concurrency, and Locks and Waits collectors on a driver module. Use the lighweight hotspots collection instead. In order to make possible the drilling down to a source code, make sure the driver is compiled with a -g option.</description>
      <pubDate>Mon, 31 Jan 2011 10:58:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814488#M2026</guid>
      <dc:creator>Vladimir_T_Intel</dc:creator>
      <dc:date>2011-01-31T10:58:38Z</dc:date>
    </item>
    <item>
      <title>Using VTune on Linux Kernal modules?</title>
      <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814489#M2027</link>
      <description>When I do runin lightweight hotspotsI still see the same behavior.&lt;BR /&gt;&lt;BR /&gt;The drivers are compiled with source, and an objdump on the .ko's shows source and assembly.&lt;BR /&gt;&lt;BR /&gt;They are installed with modprobe in the correct path:&lt;BR /&gt;&lt;PRE&gt;[bash][root@san-panther panther]# modprobe -l | grep extra
extra/rrprofile/rrprofile.ko
extra/rrnotify/rrnotify.ko
extra/dre_drv/dre_drv.ko
extra/dre_drv/demo.ko
[root@san-panther panther]# ls /lib/modules/`uname -r`/extra/dre_drv -l
total 0
lrwxrwxrwx 1 root root 30 Feb 4 19:20 demo.ko -&amp;gt; /home/tbroberg/panther/demo.ko
lrwxrwxrwx 1 root root 33 Feb 3 18:29 dre_drv.ko -&amp;gt; /home/tbroberg/panther/dre_drv.ko
[/bash]&lt;/PRE&gt;&lt;BR /&gt;Any further tips on debugging this?&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt; - Tim.</description>
      <pubDate>Mon, 07 Feb 2011 18:54:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814489#M2027</guid>
      <dc:creator>Tim_Broberg</dc:creator>
      <dc:date>2011-02-07T18:54:02Z</dc:date>
    </item>
    <item>
      <title>Using VTune on Linux Kernal modules?</title>
      <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814490#M2028</link>
      <description>Try setting up the search directories in the Project Properties.</description>
      <pubDate>Fri, 11 Feb 2011 00:53:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814490#M2028</guid>
      <dc:creator>David_A_Intel1</dc:creator>
      <dc:date>2011-02-11T00:53:50Z</dc:date>
    </item>
    <item>
      <title>Using VTune on Linux Kernal modules?</title>
      <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814491#M2029</link>
      <description>Hi Tim,&lt;BR /&gt;&lt;BR /&gt;Have you got to use Vtune on Linux Kernel modules?&lt;BR /&gt;&lt;BR /&gt;I am trying in meego, Lightweight Hotspots Analysis, medfield processor and I have the same error:&lt;BR /&gt;"Failed to show source and assembly code."&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Edu&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Mar 2011 15:24:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814491#M2029</guid>
      <dc:creator>Eduardo_Mendi</dc:creator>
      <dc:date>2011-03-31T15:24:26Z</dc:date>
    </item>
    <item>
      <title>Using VTune on Linux Kernal modules?</title>
      <link>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814492#M2030</link>
      <description>Thanks, Mr. A. I'm coming back to this again after getting a new license file. This makes sense, but it still isn't working for me.&lt;BR /&gt;&lt;BR /&gt;I have my search directories set to /usr/src/debug/kernel-2.6.34.fc13/linux-2.6.34.x86_64 where I can see plenty of source.&lt;BR /&gt;&lt;BR /&gt;Zoom seems to find the source fine.&lt;BR /&gt;&lt;BR /&gt;Any suggestions for how to debug this. Mr A?&lt;BR /&gt;&lt;BR /&gt;Eduardo, no, I haven't had any luck with this yet.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt; - Tim.</description>
      <pubDate>Tue, 05 Apr 2011 00:00:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Using-VTune-on-Linux-Kernal-modules/m-p/814492#M2030</guid>
      <dc:creator>Tim_Broberg</dc:creator>
      <dc:date>2011-04-05T00:00:41Z</dc:date>
    </item>
  </channel>
</rss>

