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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 8 Dec 2016 12:55:05 +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.
> 
> The following 2 patches fix that behaviour.
> They are based on next-20161208.
> 
> Marcin Nowakowski (2):
>   kbuild: keep __mcount_loc table through dead code elimination
>   recordmcount: fix mcount recording with -ffunction-sections

These both look okay to me, thanks.

Acked-by: Nicholas Piggin <npiggin@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux