[CRIU] [PATCH] Add ability to compile program with gprof output

Pavel Emelyanov xemul at parallels.com
Tue Feb 18 00:52:19 PST 2014


On 02/18/2014 12:51 PM, Pavel Emelyanov wrote:
> On 02/07/2014 08:46 PM, Cyrill Gorcunov wrote:
>> To be able to profile CRIU with gprof support we need a special flag
>> passed to the compiler and linker. But same time we can't build parasite
>> code with prof support because it'll call for mcount() service routine
>> for which we don't have any stub yet (and even if we had there are
>> other tech details involved). Thus PIE code won't be profiled.
>>
>> To compile with prof support make it as
>>
>>   make DEBUG=1 GMON=1
>>
>> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> 
> Andrey, you once did coverage collecting. Plz, review this patch.
> 


Forgot to put Andrey in Cc :)


More information about the CRIU mailing list