CPROF Beta Test VersionPaul Sutera of IBM Corporation, a colleague of Theresa Halloran at IBM's Poughkeepsie, N.Y. development labs, has submitted an extensive patch for the cprof profiling tool.
The patch has been tested on the following platforms:
Although the patch has been extensively tested, it is still considered to be a beta level release at this time. Developers are requested to download and test this patch, and to report any bugs (or favorable test results) to Paul Sutera, psutera@us.ibm.com. If you do not wish to beta test the new patch, please use the stable version instead. Problems Fixed in this PatchThe patch is intended to correct the following problems in cprof. As of the date of the patch, this list includes all outstanding bugs that were known to the patch developer:
This patch completely replaces the previous patch from 2002-03-15. Installing the March 15 PatchYou will need to start with a freshly-extracted copy of the source tarball for cprof version 1.0.1. Do not use source that was modified by the 2002-03-15 patch or the 2003-05-12 patch. Place the patch file (cprof-20040315-beta.patch.gz) and the source code tarball (cprof-1.0.1.tar.gz) into the same directory (generally /usr/local/src/) on your system. Then perform the following steps to apply the patch to cprof source code: tar -zxvf cprof-1.0.1.tar.gz cd cprof-1.0.1 zcat ../cprof-20040315-beta.patch.gz | patch -p1 aclocal automake --copy --add-missing autoconf libtoolize --force --copy --automake ./configure make su -c make install NOTE: Some browsers, such as Microsoft Internet Explorer, may pre-unzip the patch file as they download it. If your browser does this, save the file as cprof-20040315-beta.patch, and modify the zcat step above so that "cat" is used instead of "zcat" and so that the filename is correct for you. Alternatively, when you click on the link to download the patch, use SHIFT on your keyboard along with the mouse button. In most cases, this will suppress the browser's change of filetype. Bug ReportsIf you test with this patch, please send bug reports to Paul Sutera, psutera@us.ibm.com, with a courtesy copy to Scott Courtney, scourtney@sinenomine.net. Usage NotesDionne Graff of IBM was kind enough to point out that, when running the test cases, you must first execute the test program without CPROF, then use CPROF to profile it. For example, cd test Consult the Using CPROF Mini-HOWTO for more detailed information. |