On Wed, Apr 15, 2009 at 05:08:20PM +0200, Juan Ángel Lorenzo wrote: > Hello, > > I'm experiencing a (I think) similar problem. When working in an > Itanium2 Montvale machine (SuSE Enterprise 10 Service Pack 1, kernel > 2.6.16.53-0.8_SFS2.3_0-default) with the supplied kernel and perfmon > packages I can only make the "old_ia64_examples" work, but when I try > to run the codes in the "examples" directory, I get errors like > "pfm_create_context failed" and "Your kernel does not have performance > monitoring support!". As far as I've seen, the problem is with the > pfm_create_context function call. > > Do you have any idea of how to fix it? > > Thanks in advance, > Juan Ángel
There is no perfmon2.x support in the SLES10 kernel. There is only the support that is present in the mainline 2.6.16 kernel. The former is exercised by the examples tests and the later by the old_ia64_examples tests. This should all be transparantly handled by the library. Does pfmon work? There is perfmon 2.x support in SLES11 *but* you need to use SLES kernels and SLES userspace packages. Trying to rebuild libpfm from source to use alongside the SLES kernel or building your own kernel with the perfmon2.x kernel patch together with SLES userspace packages will not work. Hopefully this clears things up from the SuSE standpoint? If not, feel free to e-mail me directly. Tony ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel