<?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 Linux 3.0 support? in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768501#M202</link>
    <description>You shouldn't have to rebuild the kernel when attempting to build the sep driver. If the build-driver script finds the properly prepared kernel source, it should succeed; then you can run the insmod script.</description>
    <pubDate>Thu, 17 Nov 2011 02:32:05 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2011-11-17T02:32:05Z</dc:date>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768494#M195</link>
      <description>&lt;DIV id="_mcePaste"&gt;I'm trying out VTune on Debian Testing (Wheezy), which is now running the Linux 3.0 kernel. VTune doesn't appear to recognize the 3.0 version number.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;By hacking the build scripts, I was able to get the kernel module to build with a few tweaks (patch below).The "Advanced Intel Microarchitecture Codename Sandy Bridge" category works.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;However, the "Algorithm Analysis" category doesn't work. I get the error message "Error: 3.0 is not a supported linux release". I think this uses the "pin" tool (www.pintool.org), and that isn't open source, so I'm stuck here.Anyone have any ideas on getting VTune to work with the 3.0 kernel?&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Thanks,&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Justin&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;Patch for kernel module:&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;PRE&gt;[diff]diff -ur src/lwpmudrv.c src2/lwpmudrv.c
--- src/lwpmudrv.c	2011-06-14 06:23:32.000000000 -0700
+++ src2/lwpmudrv.c	2011-08-18 21:43:06.424439181 -0700
@@ -138,7 +138,8 @@
 U32                     cur_device             = 0;
 LWPMU_DEVICE            devices                = NULL;
 
-static  spinlock_t      ioctl_lock            = SPIN_LOCK_UNLOCKED;
+//static  spinlock_t      ioctl_lock            = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(ioctl_lock);
 
 #define  PMU_DEVICES            2   // pmu, mod
 #define  OTHER_PMU_DEVICES      1   // mod
diff -ur src/output.c src2/output.c
--- src/output.c	2011-06-14 06:23:32.000000000 -0700
+++ src2/output.c	2011-08-18 21:44:00.700436295 -0700
@@ -409,7 +409,8 @@
         }
     }
     outbuf = &amp;amp;(BUFFER_DESC_outbuf(desc));
-    OUTPUT_buffer_lock(outbuf) = SPIN_LOCK_UNLOCKED;
+    //OUTPUT_buffer_lock(outbuf) = SPIN_LOCK_UNLOCKED;
+    spin_lock_init(&amp;amp;OUTPUT_buffer_lock(outbuf));
     for (j = 0; j &amp;lt; OUTPUT_NUM_BUFFERS; j++) {
         OUTPUT_buffer(outbuf,j) = CONTROL_Allocate_Large_Memory(OUTPUT_BUFFER_SIZE);
         OUTPUT_buffer_full(outbuf,j) = 0;[/diff]&lt;/PRE&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Aug 2011 05:35:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768494#M195</guid>
      <dc:creator>justinsb</dc:creator>
      <dc:date>2011-08-19T05:35:20Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768495#M196</link>
      <description>Latest product VTune Amplifier XE 2011 Update 4 supports Debian* 6 - which kernel version is 2.6.26.&lt;BR /&gt;&lt;BR /&gt;I think that kernel 3.0 based Linux* OShasn't been supported yet.&lt;BR /&gt;&lt;BR /&gt;Regards, Peter</description>
      <pubDate>Fri, 19 Aug 2011 06:32:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768495#M196</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2011-08-19T06:32:15Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768496#M197</link>
      <description>Is there any news update on this? I'm anxiously awaiting VTune for Linux 3 and hope I can use it on Archlinux then.&lt;BR /&gt;&lt;BR /&gt;Bye</description>
      <pubDate>Thu, 20 Oct 2011 23:36:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768496#M197</guid>
      <dc:creator>milian</dc:creator>
      <dc:date>2011-10-20T23:36:54Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768497#M198</link>
      <description>Not yet.&lt;BR /&gt;&lt;BR /&gt;Also please know the update of supported OSs from website &lt;A href="http://software.intel.com/sites/products/documentation/hpc/amplifierxe/en-us/lin/start/release_notes_amplifier_xe_linux.pdf"&gt;the release notes &lt;/A&gt;of this product, or go download site &lt;A href="https://registrationcenter.intel.com/RegCenter/Download.aspx?productid=1384"&gt;https://registrationcenter.intel.com/RegCenter/Download.aspx?productid=1384&lt;/A&gt;to get the release notes, if you already have registered the product.&lt;BR /&gt;&lt;BR /&gt;Regards, Peter</description>
      <pubDate>Fri, 21 Oct 2011 02:37:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768497#M198</guid>
      <dc:creator>Peter_W_Intel</dc:creator>
      <dc:date>2011-10-21T02:37:15Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768498#M199</link>
      <description>Hi, I did the stupid thing of upgrading Ubuntu to 11.10 when it prompt me. Now I cannot run Vtune anymore. I have to either wait for an updated version or format and roll back at 11.04?&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks!&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Nov 2011 13:29:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768498#M199</guid>
      <dc:creator>Petros</dc:creator>
      <dc:date>2011-11-04T13:29:14Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768499#M200</link>
      <description>You'll probably need to replace the sep/vtune driver after upgrading Ubuntu, probably by running sudo ./build-driver in your Amplifier installation. You'll need to have installed kernel source, and you may need to help build-driver find it.</description>
      <pubDate>Fri, 04 Nov 2011 14:51:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768499#M200</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-11-04T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768500#M201</link>
      <description>&lt;DIV&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;I have&lt;SPAN&gt;Intel VTune Amplifier XE 2011 Update 5, B&lt;/SPAN&gt;&lt;SPAN&gt;uild Number: 186533 on default installation of Ubuntu 11.10 and Hotspot Analysis doesn't work. I get the message&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;Error: 3.0 is not a supported linux release&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: verdana, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I tried to build the sep driver for my kernel following the instructions at Readme file, but when i do make mrproper i get&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;/usr/src/linux-headers-3.0.0-12-generic/ubuntu/aufs/Makefile:2: ubuntu/aufs/magic.mk: No such file or directory&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;make[2]: *** No rule to make target `ubuntu/aufs/magic.mk'. Stop.&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;make[1]: *** [ubuntu/aufs] Error 2&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;make: *** [_clean_ubuntu] Error 2&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Is there anything missing?&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance,&lt;/DIV&gt;&lt;DIV&gt;                 Kostas&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2011 17:39:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768500#M201</guid>
      <dc:creator>pharvester</dc:creator>
      <dc:date>2011-11-16T17:39:54Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768501#M202</link>
      <description>You shouldn't have to rebuild the kernel when attempting to build the sep driver. If the build-driver script finds the properly prepared kernel source, it should succeed; then you can run the insmod script.</description>
      <pubDate>Thu, 17 Nov 2011 02:32:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768501#M202</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2011-11-17T02:32:05Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768502#M203</link>
      <description>TimP thank you for your fast reply. I have already built the driver and loaded it with insmod. The building completes without errors, and the loading succeeds; both pax and sep3_4 drivers appear to be loaded when i ran lsmod. But Hotspots analysis still doesn't run. Lightweight Hotspots analysis and processor (Sandy Bridge) specific analysis runs just fine. Is there anything else i could do?&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;       Kostas&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Nov 2011 14:06:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768502#M203</guid>
      <dc:creator>pharvester</dc:creator>
      <dc:date>2011-11-18T14:06:41Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768503#M204</link>
      <description>Hm. I can't belive that fixing this vtune issue is so difficult for 3.x kernel .&lt;BR /&gt;&lt;BR /&gt;Should I remember you that kernel version 3.2 is on the way?</description>
      <pubDate>Thu, 24 Nov 2011 12:59:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768503#M204</guid>
      <dc:creator>zmi007</dc:creator>
      <dc:date>2011-11-24T12:59:37Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768504#M205</link>
      <description>any update on getting vtune fully working on ubuntu 11.10?</description>
      <pubDate>Tue, 29 Nov 2011 15:54:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768504#M205</guid>
      <dc:creator>mikeinaustin</dc:creator>
      <dc:date>2011-11-29T15:54:07Z</dc:date>
    </item>
    <item>
      <title>Linux 3.0 support?</title>
      <link>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768505#M206</link>
      <description>Linux 3.0 kernel support for algorithmic based analysis types like Hotspots, Concurrency and Locks and Waits was added to Intel VTune Amplifier XE 2011 Update 7. Please explore the following link for more information &lt;A href="https://registrationcenter.intel.com/RegCenter/Download.aspx?productid=1384"&gt;https://registrationcenter.intel.com/RegCenter/Download.aspx?productid=1384&lt;/A&gt;. &lt;BR /&gt;Thanks, Dmitry</description>
      <pubDate>Mon, 16 Jan 2012 14:13:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Linux-3-0-support/m-p/768505#M206</guid>
      <dc:creator>Dmitry_P_Intel1</dc:creator>
      <dc:date>2012-01-16T14:13:51Z</dc:date>
    </item>
  </channel>
</rss>

