This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] kprobes patch


Hello,

I am not sure if this is a right place to send patch for kprobes, but
here it is.  This patch moves the reset command of kprobe instance
into the loop. (against 2.6.18)


Signed-off-by: Jun Koi <junkoi2004@gmail.com>



--- a/kernel/kprobes.c 2006-09-20 12:42:06.000000000 +0900 +++ b/kernel/kprobes.c 2006-10-28 03:52:27.000000000 +0900 @@ -204,8 +204,8 @@ static int __kprobes aggr_pre_handler(st set_kprobe_instance(kp); if (kp->pre_handler(kp, regs)) return 1; + reset_kprobe_instance(); } - reset_kprobe_instance(); } return 0; }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]