Just so you know, this is causing PAPI to not work with the latest kernel.
Should PAPI treat the 2.81 kernel as compatible with 2.8 libpfm?

Thanks,

- Corey

Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
[EMAIL PROTECTED]


"stephane eranian" <[EMAIL PROTECTED]> wrote on 08/06/2008 04:22:07
PM:

> Corey,
>
> On Wed, Aug 6, 2008 at 11:54 AM, Corey Ashford <[EMAIL PROTECTED]>
wrote:
> > Hey folks,
> >
> > In trying to test PAPI-3.6.1/perfmon2 on POWER5, I ran into a problem
with
> > PFM_VERSION and /sys/kernel/perfmon/version
> >
> > The latest perfmon2 kernel is showing version 2.81 in
> > /sys/kernel/perfmon/version, but libpfm thinks the version is 2.8.
> >
> I made that change to reflect that fact that the kernel sampling
> format API has changed.
> This only affects sampling format kernel modules. I did not go to 2.9
> because there was
> no real user API changes.
>
> > In libpfm, PFM_VERSION is encoded as 0x00020008, but in order for the
> > version number to match the version number
from /sys/kernel/perfmon/version,
> > I think it would have to be 0x00020081.
> >
> I forgot to do that, sorry.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to