All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
To: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Jim Keniston <jkenisto@us.ibm.com>,
	David Miller <davem@davemloft.net>,
	Rusty Russell <rusty@rustcorp.com.au>,
	LKML <linux-kernel@vger.kernel.org>,
	systemtap-ml <systemtap@sources.redhat.com>
Subject: Re: [PATCH 4/7] kprobes: Support probing module __exit function
Date: Wed, 12 Nov 2008 21:26:29 +0530	[thread overview]
Message-ID: <20081112155629.GC5199@in.ibm.com> (raw)
In-Reply-To: <4919F19A.9050904@redhat.com>

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@redhat.com>

Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>

  reply	other threads:[~2008-11-12 15:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 20:56 [PATCH 4/7] kprobes: Support probing module __exit function Masami Hiramatsu
2008-11-12 15:56 ` Ananth N Mavinakayanahalli [this message]
2008-11-14  0:27 ` Andrew Morton
2008-11-14  4:51   ` Ananth N Mavinakayanahalli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081112155629.GC5199@in.ibm.com \
    --to=ananth@in.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=jkenisto@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mhiramat@redhat.com \
    --cc=rusty@rustcorp.com.au \
    --cc=systemtap@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.