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

From: Heiko Carstens
Date: Thu Jan 29 2015 - 04:29:49 EST


On Wed, Jan 28, 2015 at 06:57:54AM -0500, Steven Rostedt wrote:
> 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.

Ok, then we'll put that on the s390 tree for the next merge window, so
we can fix any potential fallout easier.
I'll add your Acked-by to all three patches. The notrace patch is the
only one that I changed (see below).

Thanks!