[Patch 0/3][Djprobe] Djprobe update for linux-2.6.14-mm1
Masami Hiramatsu
hiramatu@sdl.hitachi.co.jp
Tue Nov 8 13:26:00 GMT 2005
Hi,
I updated the patches of djprobe against linux-2.6.14-mm1.
Also I removed all spinlocks from djprobe patches as stated below.
Masami Hiramatsu wrote:
>
> I learned from kretprobe that I can remove this spinlock and
> a trick of instruction buffer. Here is a new pseudo-program.
>
> djprobe_pre_handler()
> {
> if (!DJPI_EMPTY(djpi)) {
> regs->eip = (unsigned long)djpi->stub.insn;
> reset_current_kprobe();
> preempt_enable_no_resched();
> return 1;
> }
> return 0;
> }
>
Best Regards,
--
Masami HIRAMATSU
2nd Research Dept.
Hitachi, Ltd., Systems Development Laboratory
E-mail: hiramatu@sdl.hitachi.co.jp
More information about the Systemtap
mailing list