Messages in this thread | | | Date | Mon, 26 Jan 2015 10:22:26 -0500 | From | Steven Rostedt <> | Subject | Re: [PATCH/RFC 2/3] ftrace: introduce nohotpatch function attribute |
| |
On Mon, 26 Jan 2015 16:03:19 +0100 Heiko Carstens <heiko.carstens@de.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
| |