On Wed, Apr 08, 2009 at 12:15:55PM +0200, Péter Szilágyi wrote: > Hello,<br><br>? I have a problem with the perfmon in the 2.6.27 kernel. More > specifically, that every library that relies upon it (libpfm, papi), fails to > run on my system (OpenSuse 11.1 x64). I've been looking at the libpfm > example, and the problem is with the pfm_create_context function call... it > returns ENOSYS. After checking the function implementation in the kernel > sources, it seems to me, that it should only return that error code if the > perfmon is disabled (i.e. perfmon_disabled == 1). But I also checked the > initialization of the perfmon "library" and it succeeds (at leas in > the boot messages everything seems ok... the last init function call from the > pfm_init also succeeds (cpu hotplug), and no error message appears). Since > the perfmon_disabled variable is never changed anywhere else, it *must* be > 0... but then why does the pfm_create_context fail?<br> > <br>? Sorry if this is something very easy and straightforward to solve... > I've been searching more than a day now on google, with no > luck.<br><br>Thanks,<br>? Peter<br>
What kernel and userspace are you using? SuSE supplied or your own? If it's SuSE please provide rpm versions. Btw, it's likely not going to work on 11.1/x86_64 but no point me elaborating if it's your local builds. 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