Re: [PATCH][GIT PULL] ftrace: Rename config optionHAVE_C_MCOUNT_RECORD to HAVE_C_RECORDMCOUNT

From: Steven Rostedt
Date: Fri Oct 15 2010 - 09:49:41 EST


On Fri, 2010-10-15 at 11:41 +0200, Ingo Molnar wrote:
> * Ingo Molnar <mingo@xxxxxxx> 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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/