[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081112155629.GC5199@in.ibm.com>
Date: Wed, 12 Nov 2008 21:26:29 +0530
From: Ananth N Mavinakayanahalli <ananth@...ibm.com>
To: Masami Hiramatsu <mhiramat@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Jim Keniston <jkenisto@...ibm.com>,
David Miller <davem@...emloft.net>,
Rusty Russell <rusty@...tcorp.com.au>,
LKML <linux-kernel@...r.kernel.org>,
systemtap-ml <systemtap@...rces.redhat.com>
Subject: Re: [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 <mhiramat@...hat.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@...ibm.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists