Will, On Mon, Nov 27, 2006 at 02:05:18PM -0500, William Cohen wrote: > > > >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. > > > 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. > Good catch.
I have fixed the problem with a patch similar to yours. You can pull from CVS and let me know if this works for you. Thanks. -- -Stephane _______________________________________________ perfmon mailing list [email protected] http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/
