Re: 2.6.17-rc1 perfmon2 new code base + libpfm available

From: William Cohen
Date: Wed Apr 05 2006 - 14:43:03 EST


Stephane Eranian wrote:

The new version of the library, libpfm, includes the following changes:

- updated to match 2.6.17-rc1 new system call numbers

- modified pfmlib.h to use 64-bit integer for generic PMC register
(submitted by Kevin Corry from IBM)

Hi Stephane,

There isn't an perfmon_x86_64.h file anymore. Shouldn't the Makefile eliminate that? The stock "make install" fails because that file doesn't exist. I think the attached patch fixes this problem.

-Will --- libpfm-3.2-060405/include/Makefile.orig 2006-04-05 14:09:32.000000000 -0400
+++ libpfm-3.2-060405/include/Makefile 2006-04-05 14:35:09.000000000 -0400
@@ -40,7 +40,6 @@

ifeq ($(CONFIG_PFMLIB_ARCH_X86_64),y)
HEADERS += perfmon/pfmlib_os_x86_64.h \
- perfmon/perfmon_x86_64.h \
perfmon/pfmlib_comp_x86_64.h
endif