Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934840AbcLVJPS (ORCPT ); Thu, 22 Dec 2016 04:15:18 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:45389 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765785AbcLVJPQ (ORCPT ); Thu, 22 Dec 2016 04:15:16 -0500 Subject: Re: [PATCH RESEND 0/2] kbuild: dead code elimination: ftrace fixes To: Nicholas Piggin References: <1482396707-14349-1-git-send-email-marcin.nowakowski@imgtec.com> <20161222190854.6604e386@roar.ozlabs.ibm.com> CC: Arnd Bergmann , , Michal Marek From: Marcin Nowakowski Message-ID: <6ea6505b-be41-1cd6-2fb2-63a58f1ac727@imgtec.com> Date: Thu, 22 Dec 2016 10:15:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161222190854.6604e386@roar.ozlabs.ibm.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.2.5] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1162 Lines: 28 Hi Nick, On 22.12.2016 10:08, Nicholas Piggin wrote: > On Thu, 22 Dec 2016 09:51:45 +0100 > Marcin Nowakowski 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. I had previously sent them to Michal and cc:kbuild, but Michal has not picked them up yet hence I've sent them to lkml now. It's not clear to me if Michal is the person responsible for recordmcount changes, but I initially posted this to kbuild as this is where all of your dead code & data elimination patches were going through. Michal - do you plan to pick up these changes or would they need to be acked/merged by somebody else? thanks, Marcin