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

From: Masami Hiramatsu
Date: Tue Jun 23 2009 - 16:46:56 EST


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
>

--
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division

e-mail: mhiramat@xxxxxxxxxx

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