From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755870Ab0JONti (ORCPT ); Fri, 15 Oct 2010 09:49:38 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:50489 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755808Ab0JONth (ORCPT ); Fri, 15 Oct 2010 09:49:37 -0400 X-Authority-Analysis: v=1.1 cv=vbQZhf6WRU4XF+4tPWNJEMYU0N1CowIjcRZ/qR/IBDs= c=1 sm=0 a=nFyw1t5h3Z8A:10 a=Q9fys5e9bTEA:10 a=OPBmh+XkhLl+Enan7BmTLg==:17 a=7Y0bzSOBNqQ0UMKEbQgA:9 a=ZD-QlfJVR6Rjiuw_70JdPc-wF1wA:4 a=PUjeQqilurYA:10 a=OPBmh+XkhLl+Enan7BmTLg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.242.120.143 Subject: Re: [PATCH][GIT PULL] ftrace: Rename config option HAVE_C_MCOUNT_RECORD to HAVE_C_RECORDMCOUNT From: Steven Rostedt To: Ingo Molnar Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Masami Hiramatsu , linux-kernel@vger.kernel.org In-Reply-To: <20101015094119.GA21002@elte.hu> References: <1287114319.23682.34.camel@gandalf.stny.rr.com> <20101015041307.GA31764@elte.hu> <20101015073836.GA6870@elte.hu> <20101015094119.GA21002@elte.hu> Content-Type: text/plain; charset="ISO-8859-15" Date: Fri, 15 Oct 2010 09:49:35 -0400 Message-ID: <1287150575.23682.65.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2010-10-15 at 11:41 +0200, Ingo Molnar wrote: > * Ingo Molnar wrote: > > > FYI, a recent tracing change causes this new warning on latest -tip: > > It appears it has been there for a longer time. So not caused by a > recent commit - but it's a real warning nevertheless. Are you sure? We hit this bug before, but that was fixed by: 25aac9dc7c8c73798c1be8aa36141f980d32579e ftrace, ia64: explictly ignore a file in recordmcount.pl Basically what is happening in ftrace.o is that we have: ftrace_make_nop(mod, rec, mcount); That reference to "mcount" will be in the relocation table. The perl script simply fixes this by not processing the files "ftrace.c". I can add the same to the C code which should fix this. Patch soon. -- Steve