[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150126102226.6f76b2ab@gandalf.local.home>
Date: Mon, 26 Jan 2015 10:22:26 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Heiko Carstens <heiko.carstens@...ibm.com>
Cc: Masami Hiramatsu <maasami.hiramatsu.pt@...achi.com>,
Vojtech Pavlik <vojtech@...e.cz>,
Jiri Kosina <jkosina@...e.cz>, Jiri Slaby <jslaby@...e.cz>,
Andreas Krebbel <krebbel@...ux.vnet.ibm.com>,
Dominik Vogt <vogt@...ux.vnet.ibm.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH/RFC 2/3] ftrace: introduce nohotpatch function attribute
On Mon, 26 Jan 2015 16:03:19 +0100
Heiko Carstens <heiko.carstens@...ibm.com> wrote:
> Actually they should be mutually exclusive. I just merged them "just in case".
>
> So something like this
>
> #ifdef CC_USING_HOTPATCH
> #define notrace __attribute__((hotpatch(0,0)))
> #else
> #define notrace __attribute__((no_instrument_function))
> #endif
>
> will work as well (just tested).
I think the above change looks cleaner.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists