lkml.org 
[lkml]   [2006]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject2.6.16-rc1-mm5: explanation text for kretprobe-kretprobe-booster.patch
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-07 21:32    [W:0.234 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site