[CRIU] [PATCH] make: add ability to collect code coverage (v2)

Pavel Emelyanov xemul at parallels.com
Tue Dec 25 13:43:29 EST 2012


On 12/24/2012 07:42 PM, Andrey Vagin wrote:
> gcc is executed with the option --coverage.
> lcov creates HTML pages containing the source code annotated with
> coverage information.
> 
> make GCOV=1
> make test
> make gcov
> Look at gcov/html/index.html
> 
> v2: declare the weak __gcov_flush
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

Applied.


More information about the CRIU mailing list