[lkml]   [2008]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 4/7] kprobes: Support probing module __exit function
    On Tue, Nov 11, 2008 at 03:56:58PM -0500, Masami Hiramatsu wrote:
    > Allows kprobes to probe __exit routine.
    > This adds flags member to struct kprobe. When module is freed(kprobes hooks
    > module_notifier to get this event), kprobes which probe the functions in
    > that module are set to "Gone" flag to the flags member. These "Gone" probes
    > are never be enabled.
    > Users can check the GONE flag through debugfs.
    > This also removes mod_refcounted, because we couldn't free a module if
    > kprobe incremented the refcount of that module.
    > Signed-off-by: Masami Hiramatsu <>

    Acked-by: Ananth N Mavinakayanahalli <>

     \ /
      Last update: 2008-11-12 17:01    [W:0.019 / U:7.684 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site