Re:Code coverage

From: Peter Oberparleiter (
Date: Mon Dec 09 2002 - 11:18:18 EST


> Can I take code coverage of a linux driver?
There is the GCC GNU coverage facility (GCOV) that may be exploited for this
purpose. To use it with the kernel, get and apply the GCOV kernel patch
(gcov-kernel.tar.gz) which may be found in the "files" section at:

There's also an extension for the text-only output of GCOV available which
builds on the mentioned kernel patch and provides an easy-to-use interface
including HTML output, bar-graphs, browsable overview list, etc. It's called
LCOV and can be found at:

  Peter Oberparleiter
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:14 EST