Re: [RFC PATCH 1/4] ftrace: Make recordmcount.c handle __fentry__

From: Steven Rostedt
Date: Tue Aug 07 2012 - 20:05:59 EST


On Tue, 2012-08-07 at 16:57 -0700, John Reiser wrote:

> If the user changes compilers (or changes CFLAGS by insert/remove "-mfentry")
> without doing a "make clean", then recordmcount will omit some calls.

The make dependencies of such a change should (hopefully) cause a full
recompile of the code. Yeah, I expect that we only have "mcount" or
"fentry" as something that can be called. If we had both mcount and
fentry, it would fail to link anyway, as we only define mcount or fentry
in the assembly, never both.

>
> Those restrictions are easy to guess, and recovery is easy. Therefore,
> Ack'ed by: John Reiser <jreiser@xxxxxxxxxxxx>
>

Thanks!

-- 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/