Hello,

  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?

  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.

Thanks,
  Peter
------------------------------------------------------------------------------
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

Reply via email to