Re: [PATCH/RFC 2/3] ftrace: introduce nohotpatch function attribute

From: Heiko Carstens
Date: Wed Jan 28 2015 - 00:36:56 EST


On Tue, Jan 27, 2015 at 09:42:28AM -0500, Steven Rostedt wrote:
> On Tue, 27 Jan 2015 07:19:42 +0100
> Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx> wrote:
>
> > While the kernel may use only profiling or hotpatch at the same
> > time, Gcc is able to generate both for the same function.
>
> Understood, but would that be useful for the kernel?

Right now not. We may change that anyway in the future if needed.

Steven, how do we proceed with this small series?

Since there don't seem to be any objections, I'll repost with the
changed notrace define. However I think the whole stuff should go
upstream via the ftrace tree. Is that ok with you?

FWIW, the s390 gcc hotpatch feature was merged in the meantime:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=11762b8363737591bfb9c66093bc2edf289b917f

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