mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.16-rc1-mm5: explanation text for kretprobe-kretprobe-booster.patch
@ 2006-02-07 20:25 Chuck Ebbert
  0 siblings, 0 replies; only message in thread
From: Chuck Ebbert @ 2006-02-07 20:25 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David S. Miller, Ananth N Mavinakayanahalli,
	Anil S Keshavamurthy, Prasanna S Panchamukhi, linux-kernel,
	Masami Hiramatsu

In kretprobe-kretprobe-booster.patch:

> From: Masami Hiramatsu <hiramatu@sdl.hitachi.co.jp>
>
> What does this do?
>

Here's a description:

In normal operation, kretprobe makes a target function return
to trampoline code. A kprobe (called trampoline_probe) has
been inserted in the trampoline code. When the kernel hits this
kprobe, it calls kretprobe's handler and it returns to the original
return address.

Kretprobe-booster removes the trampoline_probe. It allows the
trampoline code to call kretprobe's handler directly instead of
invoking kprobe. The trampoline code returns to the original return
address.

-- 
Chuck

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-07 20:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-07 20:25 2.6.16-rc1-mm5: explanation text for kretprobe-kretprobe-booster.patch Chuck Ebbert

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

all inboxes | Powered by JetHome®