public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH -mm 0/6] kprobes: Per-probe disabling support
@ 2009-01-13  1:55 Masami Hiramatsu
  2009-01-13  5:08 ` Ananth N Mavinakayanahalli
  0 siblings, 1 reply; 2+ messages in thread
From: Masami Hiramatsu @ 2009-01-13  1:55 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ananth N Mavinakayanahalli, Jim Keniston, David Miller, LKML,
	systemtap-ml, Maneesh Soni, Srikar Dronamraju

Hi,

Currently, kprobes can disable all probes at once, but can't disable it
individually (not unregister, just disable an kprobe, because unregistering
needs to wait for scheduler synchronization).
These patches introduce APIs for on-the-fly per-probe disabling and
re-enabling by dis-arming/re-arming its breakpoint instruction.

These patches can be applied on the latest -mm tree including my previous
bugfix patch (http://lkml.org/lkml/2009/1/5/472).

You can download a test of this feature from here:
http://sources.redhat.com/bugzilla/attachment.cgi?id=3082&action=view

Thank you,

 Documentation/kprobes.txt |   38 +++++-
 include/linux/kprobes.h   |   51 +++++++-
 kernel/kprobes.c          |  281 ++++++++++++++++++++++++++++++++--------------
 3 files changed, 279 insertions(+), 91 deletions(-)


-- 
Masami Hiramatsu

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

e-mail: mhiramat@redhat.com






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-13  5:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13  1:55 [RFC][PATCH -mm 0/6] kprobes: Per-probe disabling support Masami Hiramatsu
2009-01-13  5:08 ` Ananth N Mavinakayanahalli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox