This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Patch 0/3][Djprobe] Djprobe update for linux-2.6.14-mm1
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