[CRIU] [PATCH] make: add ability to collect code coverage
Pavel Emelyanov
xemul at parallels.com
Mon Dec 24 10:05:29 EST 2012
On 12/24/2012 06:51 PM, Cyrill Gorcunov wrote:
> 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?
Maybe declare the weak __gcov_flush w/o any kludges?
> Cyrill
> .
>
More information about the CRIU
mailing list