Re: [RFC][PATCH 7/7] perf: Optimize sw events

From: Steven Rostedt
Date: Fri Oct 15 2010 - 15:32:55 EST


On Fri, 2010-10-15 at 16:57 +0200, Peter Zijlstra wrote:

> Ah, figured it out, it needs __attribute__((always_inline)), otherwise
> we end up with multiple keys for one label, which will clealy not work.
>
> I thought we had a __force_inline macro but I can't seem to find that.

Do you mean __always_inline?

See include/linux/compiler-gcc4.h

-- Steve



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