lkml.org 
[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][ PATCH -tip v2 0/7] kprobes: Kprobes jump optimization support
    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@redhat.com



    \
     
     \ /
      Last update: 2009-06-23 22:49    [W:2.831 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site