Stephane Eranian wrote: > Hello, > > I have released another version of the perfmon new code base package. > This version of the kernel patch is relative to 2.6.19-rc6-git10. > > This is a major update because it completes the changes requested > during the code review on LKML. As a consequence, the kernel interface > is NOT backward compatible with previous v2.2 versions. This release has > the v2.3 version number. Backward compatibility with v2.0 is maintained > on Itanium processors. Hi Stephane, I have built the kernel with the new patches and tried things out on x86_64 an x88_64 machine with Fedora Core 4. I attempted use the new libpfm and pfmon to update the source RPMs and I noticed that there were some return values from read() and write() being ignored. When pfmon is being built as an RPM ignoring the read and write return values cause the rpmbuild to fail. Attached is a simple patch that stuffs the return values into dummy variable to avoid the warnings. This patch allows libpfm and pfmon the source RPMs to compile on FC4 and Fedora Core rawhide. -Will