HI Daniel,
If you're using the latest perfmon2 kernel patch from sourceforge and
libpfm from 3.5.0 will 'do the right thing'. This is more than
likely due to the fact that the the kernel patch is following the
consistent moving target of Linux/git-HEAD meaning that the system
call numbers change all the time.
Best bet here is:
1) Download a libpfm from sourceforge that matches your patch, make
sure it builds and runs self
2) Download PAPI HEAD from CVS. Configure it with --with-pfm-incdir
and --with-pfm-libdir and --with-perfmon2.
Lather, rinse, repeat.
Phil
On Jun 1, 2007, at 4:34 AM, Daniel Thomas wrote:
Hi Phil,
I am running a patched Sles10 system on a Clovertown Machine.
On this system libfpm,pfmon 3.2-070206 or 3.2-070507 work fine.
I have tried to install PAPI 3.5 without success on this system.
The libfpm-3.x coming with the PAPI3.5 distribution does not work.
Is it supposed to work ? By working I mean:
If I build on my patched system the libfpm.3.x coming with
the PAPI distribution and then try to run for examples "self:" from
the examples coming with libfpm I get the following error:
pfm_write_pmcs error 9
In the other hand, obviously the pfm_xx calls done by this PAPI
distribution are different
from the one defined in libfpm-3.2xx so I don't see how it could
help to
use this libraries.
Is there a PAPI branch available that are compatible with libfpm-3.2 ?
Thanks
Daniel
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/