[RFC PATCH]djprobe: new patch for the latest kprobes
Masami Hiramatsu
hiramatu@sdl.hitachi.co.jp
Fri Aug 26 04:32:00 GMT 2005
Hi,
Here is a new djprobe patch that includes some changes.
Changes:
- On UP kernel, djprobe changes code directly to jump code.
- Change kprobe's get/free_inst_slot and use it to allocate djprobe stub
code.
- Port sync_core() from x86-64 and use it instead of flush_icache_all().
- Remove CONFIG_DJPROBES and define ARCH_SUPPORTS_DJPROBES.(like kretprobes)
- register_djprobe and register_kprobe return -EBUSY when specified
address is already used by each other. (This is a temporary implementation.)
TODO:
- Support multiple djprobes insertion on an address.
- Support multiple kprobes and djprobes insertion on an address.
I think the best way to solve confliction of djprobes and kprobes is to
get together those probes as a kprobe. Because djprobes can not handle
any fault handlers.
This patch againsts 2.6.13-rc5-mm1.
I will post the djprobe patch to LKML after it is reviewed.
BTW, I marry tomorrow and leave in today for my honeymoon, and come back
5 Sep. So, I'm sorry that I will not reply until 5 Sep.
--
Masami HIRAMATSU
2nd Research Dept.
Hitachi, Ltd., Systems Development Laboratory
E-mail: hiramatu@sdl.hitachi.co.jp
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: djprobe-0825_2.6.13-rc5-mm1.patch
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050826/f5cad8ab/attachment.ksh>
More information about the Systemtap
mailing list