Skip to contentSkip to conversation

2.6.17-rc1 perfmon2 new code base + libpfm available

DISCUSSION Stephane Eranian 2 participants 2 messages Apr 5, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I have released another version of the perfmon new code base package. This release is relative to 2.6.17-rc1

There were, once again, new system calls added. As such a new libpfm is necessary.

This new kernel patch includes several changes:

- Merged i386 and x86_64 perfmon.c architecture specific codes

- Merged PMU description modules for em64t and p4.

- support for automatic loading of PMU description modules if CONFIG_KMOD=y. Make sure you run make modules_install

- MIPS patches are back and are applied onto the mainline kernel

This release uses the new/mod patch breakdown for all architectures. To apply, you can simply do:

	cat ../perfmon-new-base-060405/*.diff | patch -p1 

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)

I have finally created a minimal home page for the project. So now you can access the latest news and files from:

	http://perfmon2.sf.net

I received notification from SF.net, that the libpfm package has been installed into our CVS repository. It should become visible fairly quickly now. Once this happens, I will update the tree to include this new version of the library.

Enjoy,

Signature · 1 line
-Stephane
#1 lore raw
Quoted 6 lines · Stephane Eranian

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

include/Makefile renamed from include/Makefile.orig +0 -1
@@ -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