Using -fprofile-values is one case that will cause the memory allocation problem. More changes are needed to fully support -fprofile-values. I submit this patch first because I think it is obvious and does no harm. > I'm unaware of any user of -fprofile-values in the kernel. Are you > trying to extend gcov-kernel to also support -fprofile-values? I would > expect that additional changes to the .gcda file creation logic are > required to fully support this GCC option.ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ¥Šwÿº{.nÇ+‰·¥Š{±þG«�éÿŠ{ayºʇڙë,j­¢f£¢·hš�ï�êÿ‘êçz_è®(­éšŽŠÝ¢j"�ú¶m§ÿÿ¾«þG«�éÿ¢¸?™¨è­Ú&£ø§~�á¶iO•æ¬z·švØ^¶m§ÿÿà ÿ¶ìÿ¢¸?–I¥