Re: [RFC][ PATCH -tip v2 0/7] kprobes: Kprobes jump optimization support

Masami Hiramatsu
2009-06-26T23:18:27Z

Andi Kleen wrote:
> On Tue, Jun 23, 2009 at 01:28:03PM -0400, Masami Hiramatsu wrote:
>> Hmm, would you know what is the actual name of that section and option?
>
> -freorder-blocks-and-partition
>
> .text.unlikely

Hi Andi,

I've built my kernel with -freorder-blocks-and-partition, and
I saw that .text.unlikely contains whole functions, not
pieces of codes. In that case, it doesn't generate jumps which
jump to the middle of other functions.

Thank you,