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

Masami Hiramatsu
2009-06-23T20:46:52Z

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

Thanks,

>
>> I think another possible solution is decoding those sections and
>> black-listing the target functions when making vmlinux or loading
>> modules.
>
> Note that this can be pretty much all functions if you're unlucky.

Sure, in that case, I have two options;
- Disable above option by kconfig.
- Black-listing the target addresses, instead of functions.

Thank you,

>
> -Andi