Re: [RFC PATCH 0/1] support ftrace and -ffunction-sections
From: Joe Lawrence
Date: Wed Nov 28 2018 - 09:59:04 EST
On 11/27/2018 09:09 PM, Steven Rostedt wrote:
> On Tue, 27 Nov 2018 15:27:14 -0500
> Joe Lawrence <joe.lawrence@xxxxxxxxxx> wrote:
>
>> Gentle ping... I took a dive through the rhkl-archives and found a few
>> older discussions:
>
> Thanks for the reminder, my INBOX is totally out of control with
> Plumbers followed by Turkey Day.
>
> [ ... snip ... ]
>
> I'm fine with just applying your patch. Today, for x86, there's a gcc
> option that adds the __mcount_loc automatically without doing any
> whitelisting (it doesn't run recordmcount.*). It just adds anything that
> is traced, thus it has to work for all possible cases now.
>
Ah right, -mcount-record ... I must have been using an older gcc w/o
-mcount-record in my testing. Thanks for taking a look and merging.
Regards,
-- Joe