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

From: Steven Rostedt
Date: Wed Jan 28 2015 - 15:14:52 EST


On Wed, 28 Jan 2015 06:36:45 +0100
Heiko Carstens <heiko.carstens@xxxxxxxxxx> wrote:

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

I can take it or you can, I'm fine either way. If you want to take it,
just add my Acked-by. If you prefer me to take it, just let me know.

-- Steve

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