Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764924AbcLVJKL (ORCPT ); Thu, 22 Dec 2016 04:10:11 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:34647 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754567AbcLVJKI (ORCPT ); Thu, 22 Dec 2016 04:10:08 -0500 Date: Thu, 22 Dec 2016 19:08:54 +1000 From: Nicholas Piggin To: Marcin Nowakowski Cc: Arnd Bergmann , , Michal Marek Subject: Re: [PATCH RESEND 0/2] kbuild: dead code elimination: ftrace fixes Message-ID: <20161222190854.6604e386@roar.ozlabs.ibm.com> In-Reply-To: <1482396707-14349-1-git-send-email-marcin.nowakowski@imgtec.com> References: <1482396707-14349-1-git-send-email-marcin.nowakowski@imgtec.com> Organization: IBM X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 649 Lines: 16 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. Thanks, Nick