I'm experiencing a (I think) similar problem. When working in an
Itanium2 Montvale machine (SuSE Enterprise 10 Service Pack 1, kernel
126.96.36.199-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,
El mié, 08-04-2009 a las 17:23 +0200, Péter Szilágyi escribió:
> I use the SuSE supplied versions.
> My kernel is 188.8.131.52-0.1.2. About the userspace I'm not really sure
> what you mean/need.
> 2009/4/8 Tony Jones <tonyj@...>
> > 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
> > Tony
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> _______________________________________________ perfmon2-devel mailing list perfmon2-devel@... https://lists.sourceforge.net/lists/listinfo/perfmon2-devel