|
From: Daniel V. <vei...@re...> - 2003-10-14 08:03:56
|
On Tue, Oct 14, 2003 at 08:52:32AM +0100, Nicholas Nethercote wrote: > On Tue, 13 Oct 2003, Jeremy Fitzhardinge wrote: > > > > So I am wondering if someone made some code coverage analysis tool > > > based on valgrind. > > > > vgprof (see http://www.goop.org/~jeremy/valgrind) does this. > > Cachegrind (normal version, not KCachegrind) also gives you this > information as a side-effect of its normal workings, since the "Ir" column > gives the number of instructions executed per line. Use the "--show=Ir" > option to cg_annotate to only show this column. Okay, and I assume kcachegrind uses it but only for a single cachegrind information file. I wonder how hard it would be to generate a coverage mode for kcachegrind based on a set of files, that would be a nice addition from my perspective :-) thanks for the informations ! Daniel -- Daniel Veillard | Red Hat Network https://rhn.redhat.com/ vei...@re... | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ |