On Jan 5, 2008, at 6:15 AM, Nicholas Nethercote wrote: > On Sat, 5 Jan 2008, Brad Hards wrote: > >> There is a bit of interest[0] in running a test coverage BoF >> session at >> linux.conf.au 2008[1] (Melbourne, Australia). >> >> Are any of the valgrind developers going to be at the conference? > > I work on the Melbourne Uni campus so it would be very easy for me > to go. > I didn't realise it was in Melbourne this year. > > Unfortunately, it seems like registrations are full -- > http://www.itwire.com/content/view/15889/1090/ says they sold out of > registrations in late December. http://linux.conf.au/register > doesn't say > they've sold out, but I also can't find a link that would let a new > registration occur. > > As for test coverage with Valgrind, I've tried writing a tool that > does this > (as has at least one other person). The problem I encountered was > that > Valgrind works at the binary level, whereas test coverage is all > about a > source level concept (lines). You can't get percentages when > working at the > binary level, except by using debug info, and I found GCC's output > debug > info to be sufficiently unreliable that this didn't work well. > > Nick
I solved that by combining callgrind's data with rpp which for my C++ source is able to give me all the coverage data I want. http://benjamin-meyer.blogspot.com/2007/12/valgrind-callgrind-tools- part-3-code.html -Benjamin Meyer ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Valgrind-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-developers
