diff for duplicates of <20050616223254.746591000@linux.jf.intel.com> diff --git a/a/1.txt b/N1/1.txt index 2e49dc5..1012579 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,7 +10,8 @@ signed-off-by: Rusty Lynch <Rusty.lynch@intel.com> 2 files changed, 22 insertions(+), 75 deletions(-) Index: linux-2.6.12-rc6/include/linux/kprobes.h -=================================--- linux-2.6.12-rc6.orig/include/linux/kprobes.h +=================================================================== +--- linux-2.6.12-rc6.orig/include/linux/kprobes.h +++ linux-2.6.12-rc6/include/linux/kprobes.h @@ -104,33 +104,12 @@ struct jprobe { }; @@ -75,7 +76,8 @@ Index: linux-2.6.12-rc6/include/linux/kprobes.h void kprobe_flush_task(struct task_struct *tk); void recycle_rp_inst(struct kretprobe_instance *ri); Index: linux-2.6.12-rc6/kernel/kprobes.c -=================================--- linux-2.6.12-rc6.orig/kernel/kprobes.c +=================================================================== +--- linux-2.6.12-rc6.orig/kernel/kprobes.c +++ linux-2.6.12-rc6/kernel/kprobes.c @@ -138,12 +138,6 @@ static int aggr_break_handler(struct kpr return 0; @@ -104,7 +106,7 @@ Index: linux-2.6.12-rc6/kernel/kprobes.c - tsk = arch_get_kprobe_task(sara); - head = &kretprobe_inst_table[hash_ptr(tsk, KPROBE_HASH_BITS)]; - hlist_for_each_entry(ri, node, head, hlist) { -- if (ri->stack_addr = sara) +- if (ri->stack_addr == sara) - return ri; - } - return NULL; @@ -143,7 +145,7 @@ Index: linux-2.6.12-rc6/kernel/kprobes.c - - hlist_for_each_entry(ri, node, head, hlist) { - tsk = arch_get_kprobe_task(ri->stack_addr); -- if (tsk = tk) +- if (tsk == tk) - return ri; - } - return NULL; @@ -170,7 +172,7 @@ Index: linux-2.6.12-rc6/kernel/kprobes.c - arch_kprobe_flush_task(tk); + head = kretprobe_inst_table_head(current); + hlist_for_each_entry_safe(ri, node, tmp, head, hlist) { -+ if (ri->task = tk) ++ if (ri->task == tk) + recycle_rp_inst(ri); + } spin_unlock_irqrestore(&kprobe_lock, flags); diff --git a/a/content_digest b/N1/content_digest index c988005..f218fc0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020050616223139.444305000@linux.jf.intel.com\0" "From\0rusty.lynch@intel.com\0" "Subject\0[patch 1/5] [kprobes] Tweak to the function return probe design - take 2\0" - "Date\0Thu, 16 Jun 2005 22:31:40 +0000\0" + "Date\0Thu, 16 Jun 2005 15:31:40 -0700\0" "To\0akpm@osdl.org\0" "Cc\0systemtap@sources.redhat.com" linux-ia64@vger.kernel.org @@ -12,6 +12,7 @@ Ananth N Mavinakayanahalli <amavin@redhat.com> " linuxppc64-dev@ozlabs.org\0" "\00:1\0" + "fn\0kprobes-return-probes-redux-base.patch\0" "b\0" "This patch provides the architecture independant changes for the tweaks \n" "to the function return probe design.\n" @@ -25,7 +26,8 @@ " 2 files changed, 22 insertions(+), 75 deletions(-)\n" "\n" "Index: linux-2.6.12-rc6/include/linux/kprobes.h\n" - "=================================--- linux-2.6.12-rc6.orig/include/linux/kprobes.h\n" + "===================================================================\n" + "--- linux-2.6.12-rc6.orig/include/linux/kprobes.h\n" "+++ linux-2.6.12-rc6/include/linux/kprobes.h\n" "@@ -104,33 +104,12 @@ struct jprobe {\n" " };\n" @@ -90,7 +92,8 @@ " void kprobe_flush_task(struct task_struct *tk);\n" " void recycle_rp_inst(struct kretprobe_instance *ri);\n" "Index: linux-2.6.12-rc6/kernel/kprobes.c\n" - "=================================--- linux-2.6.12-rc6.orig/kernel/kprobes.c\n" + "===================================================================\n" + "--- linux-2.6.12-rc6.orig/kernel/kprobes.c\n" "+++ linux-2.6.12-rc6/kernel/kprobes.c\n" "@@ -138,12 +138,6 @@ static int aggr_break_handler(struct kpr\n" " \treturn 0;\n" @@ -119,7 +122,7 @@ "-\ttsk = arch_get_kprobe_task(sara);\n" "-\thead = &kretprobe_inst_table[hash_ptr(tsk, KPROBE_HASH_BITS)];\n" "-\thlist_for_each_entry(ri, node, head, hlist) {\n" - "-\t\tif (ri->stack_addr = sara)\n" + "-\t\tif (ri->stack_addr == sara)\n" "-\t\t\treturn ri;\n" "-\t}\n" "-\treturn NULL;\n" @@ -158,7 +161,7 @@ "-\n" "-\thlist_for_each_entry(ri, node, head, hlist) {\n" "-\t\ttsk = arch_get_kprobe_task(ri->stack_addr);\n" - "-\t\tif (tsk = tk)\n" + "-\t\tif (tsk == tk)\n" "-\t\t\treturn ri;\n" "-\t}\n" "-\treturn NULL;\n" @@ -185,7 +188,7 @@ "-\tarch_kprobe_flush_task(tk);\n" "+ head = kretprobe_inst_table_head(current);\n" "+ hlist_for_each_entry_safe(ri, node, tmp, head, hlist) {\n" - "+ if (ri->task = tk)\n" + "+ if (ri->task == tk)\n" "+ recycle_rp_inst(ri);\n" "+ }\n" " \tspin_unlock_irqrestore(&kprobe_lock, flags);\n" @@ -208,4 +211,4 @@ "\n" -- -b98f79a6ab09079f8c93ac95432ce66a898a22f4c5f36e1346a86c6c1dd3c75a +26af2e247cd4a3353c841b21e0cab0fadf74562132de6e65ec983a598195979b
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.