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

Cyrill Gorcunov gorcunov at openvz.org
Mon Dec 24 09:51:52 EST 2012


On Mon, Dec 24, 2012 at 06:46:22PM +0400, Andrey Vagin wrote:
>  
> +#ifdef CR_GCOV
> +extern void __gcov_flush(void);
> +#endif
> +

Maybe it would worth to put it in header as

#ifdef CR_GCOV
extern void __gcov_flush(void);
#else
static inline void __gcov_flush(void) { }
#endif

no?

	Cyrill


More information about the CRIU mailing list