[clug] valgrind - coverage?

Martin Pool mbp at sourcefrog.net
Thu Nov 4 22:48:37 GMT 2004


On  3 Nov 2004, Brad Hards <bradh at frogmouth.net> wrote:
> Valgrind claims to provide coverage, but I can't find the right option (I'd 
> ideally like a gcov type output, but I'm actually trying to do coverage of a 
> library that in turn loads a dynamic library at runtime).

One thing you can do is run it under kcachegrind and look at the
coverage maps there.  I don't know if there is a noninteractive way to
measure it. 

--
Martin


More information about the linux mailing list