Re: [PATCH RESEND 0/2] kbuild: dead code elimination: ftrace fixes

From: Nicholas Piggin
Date: Thu Dec 22 2016 - 04:10:15 EST


On Thu, 22 Dec 2016 09:51:45 +0100
Marcin Nowakowski <marcin.nowakowski@xxxxxxxxxx> wrote:

> Enabling dead code & data elimination currently breaks ftrace operation,
> as the __mcount_loc section is removed (as it is not referenced directly
> anywhere in the code).
> Moreover, there are a lot of entries missing in the __mcount_loc section
> as the recordmcount tool doesn't currently properly handle the section
> names as created by the use of -ffunction-sections.

Thanks for keeping on top of these. I didn't have any objections, so
if you would send them to Michal Marek for merge and cc linux-kbuild
that would be appreciated.

Thanks,
Nick