|
From: Benoit P. <ben...@en...> - 2005-04-26 18:14:12
|
Hi,=20 This is a first version of my coverage tool.=20 You can find it at http://b.peccatte.free.fr/cover-0.01.tgz To build it : - extract cover.tgz into the valgrind directory - add cover to Makefile.am in the 'TOOL =3D ...' line - build as usualy To use it simply call valgrind withe --tool=3Dcover This produces a cover.pid file. This file can be read with cg_annotate=20 or kcachegrind. This is not really tested. It currently produces warnings because I use ob=3D inappropriatly. I made a script to get clean summary of coverage information. Simply run ./cover cover.pid ./cover -h will give you explanations on how to use it. Benoit |