The system-call numbers for the perfmon2 system-calls on powerpc changed for the 2.6.21 kernel.
This patch for libpfm goes along with the 2nd of the kernel patches I posted earlier. Signed-off-by: Kevin Corry <[EMAIL PROTECTED]> Signed-off-by: Carl Love <[EMAIL PROTECTED]> --- libpfm.orig/include/perfmon/perfmon.h 2 May 2007 22:31:40 -0000 +++ libpfm/include/perfmon/perfmon.h 9 May 2007 21:04:55 -0000 @@ -250,7 +250,7 @@ #endif #ifdef __powerpc__ -#define __NR_pfm_create_context 302 +#define __NR_pfm_create_context 304 #endif #define __NR_pfm_write_pmcs (__NR_pfm_create_context+1) _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
