diff for duplicates of <20080103072227.737052372@goodmis.org> diff --git a/a/1.txt b/N1/1.txt index c793cee..ad7a06d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -21,7 +21,8 @@ Signed-off-by: Steven Rostedt <srostedt@redhat.com> create mode 100644 lib/mcount/tracer_interface.h Index: linux-compile.git/lib/mcount/Kconfig -=================================--- linux-compile.git.orig/lib/mcount/Kconfig 2008-01-02 23:24:53.000000000 -0500 +=================================================================== +--- linux-compile.git.orig/lib/mcount/Kconfig 2008-01-02 23:24:53.000000000 -0500 +++ linux-compile.git/lib/mcount/Kconfig 2008-01-02 23:28:06.000000000 -0500 @@ -4,3 +4,14 @@ config MCOUNT @@ -39,7 +40,8 @@ Index: linux-compile.git/lib/mcount/Kconfig + that the debugging mechanism using this facility will hook by + providing a set of inline routines. Index: linux-compile.git/lib/mcount/tracer.c -=================================--- /dev/null 1970-01-01 00:00:00.000000000 +0000 +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux-compile.git/lib/mcount/tracer.c 2008-01-02 23:28:06.000000000 -0500 @@ -0,0 +1,125 @@ +/* @@ -107,7 +109,7 @@ Index: linux-compile.git/lib/mcount/tracer.c + tr = &mctracer_trace; + + atomic_inc(&tr->disabled[cpu]); -+ if (likely(atomic_read(&tr->disabled[cpu]) = 1)) ++ if (likely(atomic_read(&tr->disabled[cpu]) == 1)) + mctracer_add_trace_entry(tr, cpu, ip, parent_ip); + + atomic_dec(&tr->disabled[cpu]); @@ -132,7 +134,7 @@ Index: linux-compile.git/lib/mcount/tracer.c + for_each_possible_cpu(i) { + array = (struct mctracer_entry *) + __get_free_pages(GFP_KERNEL, order); -+ if (array = NULL) { ++ if (array == NULL) { + printk(KERN_ERR "mctracer: failed to allocate" + " %ld bytes for trace buffer!\n", size); + goto free_buffers; @@ -168,7 +170,8 @@ Index: linux-compile.git/lib/mcount/tracer.c + +device_initcall(mctracer_alloc_buffers); Index: linux-compile.git/lib/mcount/tracer.h -=================================--- /dev/null 1970-01-01 00:00:00.000000000 +0000 +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux-compile.git/lib/mcount/tracer.h 2008-01-02 23:28:06.000000000 -0500 @@ -0,0 +1,21 @@ +#ifndef _LINUX_MCOUNT_TRACER_H @@ -193,7 +196,8 @@ Index: linux-compile.git/lib/mcount/tracer.h + +#endif /* _LINUX_MCOUNT_TRACER_H */ Index: linux-compile.git/lib/mcount/tracer_interface.h -=================================--- /dev/null 1970-01-01 00:00:00.000000000 +0000 +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux-compile.git/lib/mcount/tracer_interface.h 2008-01-02 23:28:06.000000000 -0500 @@ -0,0 +1,14 @@ +#ifndef _LINUX_MCTRACER_INTERFACE_H @@ -211,7 +215,8 @@ Index: linux-compile.git/lib/mcount/tracer_interface.h + +#endif /* _LINUX_MCTRACER_INTERFACE_H */ Index: linux-compile.git/lib/mcount/Makefile -=================================--- linux-compile.git.orig/lib/mcount/Makefile 2008-01-02 23:24:53.000000000 -0500 +=================================================================== +--- linux-compile.git.orig/lib/mcount/Makefile 2008-01-02 23:24:53.000000000 -0500 +++ linux-compile.git/lib/mcount/Makefile 2008-01-02 23:28:06.000000000 -0500 @@ -1,3 +1,5 @@ obj-$(CONFIG_MCOUNT) += libmcount.o diff --git a/a/content_digest b/N1/content_digest index 1de6ad9..4e1747d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020080103071609.478486470@goodmis.org\0" "From\0Steven Rostedt <rostedt@goodmis.org>\0" "Subject\0[RFC PATCH 07/11] mcount based trace in the form of a header file library\0" - "Date\0Thu, 03 Jan 2008 07:16:16 +0000\0" + "Date\0Thu, 03 Jan 2008 02:16:16 -0500\0" "To\0LKML <linux-kernel@vger.kernel.org>\0" "Cc\0Ingo Molnar <mingo@elte.hu>" Linus Torvalds <torvalds@linux-foundation.org> @@ -14,6 +14,7 @@ William L. Irwin <sparclinux@vger.kernel.org> " Steven Rostedt <srostedt@redhat.com>\0" "\00:1\0" + "fn\0mcount-simple-tracer.patch\0" "b\0" "The design is for mcount based tracers to be added thru the\n" "lib/mcount/tracer_interface.h file, just like mcount users should add\n" @@ -38,7 +39,8 @@ " create mode 100644 lib/mcount/tracer_interface.h\n" "\n" "Index: linux-compile.git/lib/mcount/Kconfig\n" - "=================================--- linux-compile.git.orig/lib/mcount/Kconfig\t2008-01-02 23:24:53.000000000 -0500\n" + "===================================================================\n" + "--- linux-compile.git.orig/lib/mcount/Kconfig\t2008-01-02 23:24:53.000000000 -0500\n" "+++ linux-compile.git/lib/mcount/Kconfig\t2008-01-02 23:28:06.000000000 -0500\n" "@@ -4,3 +4,14 @@\n" " config MCOUNT\n" @@ -56,7 +58,8 @@ "+\t that the debugging mechanism using this facility will hook by\n" "+\t providing a set of inline routines.\n" "Index: linux-compile.git/lib/mcount/tracer.c\n" - "=================================--- /dev/null\t1970-01-01 00:00:00.000000000 +0000\n" + "===================================================================\n" + "--- /dev/null\t1970-01-01 00:00:00.000000000 +0000\n" "+++ linux-compile.git/lib/mcount/tracer.c\t2008-01-02 23:28:06.000000000 -0500\n" "@@ -0,0 +1,125 @@\n" "+/*\n" @@ -124,7 +127,7 @@ "+\ttr = &mctracer_trace;\n" "+\n" "+\tatomic_inc(&tr->disabled[cpu]);\n" - "+\tif (likely(atomic_read(&tr->disabled[cpu]) = 1))\n" + "+\tif (likely(atomic_read(&tr->disabled[cpu]) == 1))\n" "+\t\tmctracer_add_trace_entry(tr, cpu, ip, parent_ip);\n" "+\n" "+\tatomic_dec(&tr->disabled[cpu]);\n" @@ -149,7 +152,7 @@ "+\tfor_each_possible_cpu(i) {\n" "+\t\tarray = (struct mctracer_entry *)\n" "+\t\t\t __get_free_pages(GFP_KERNEL, order);\n" - "+\t\tif (array = NULL) {\n" + "+\t\tif (array == NULL) {\n" "+\t\t\tprintk(KERN_ERR \"mctracer: failed to allocate\"\n" "+\t\t\t \" %ld bytes for trace buffer!\\n\", size);\n" "+\t\t\tgoto free_buffers;\n" @@ -185,7 +188,8 @@ "+\n" "+device_initcall(mctracer_alloc_buffers);\n" "Index: linux-compile.git/lib/mcount/tracer.h\n" - "=================================--- /dev/null\t1970-01-01 00:00:00.000000000 +0000\n" + "===================================================================\n" + "--- /dev/null\t1970-01-01 00:00:00.000000000 +0000\n" "+++ linux-compile.git/lib/mcount/tracer.h\t2008-01-02 23:28:06.000000000 -0500\n" "@@ -0,0 +1,21 @@\n" "+#ifndef _LINUX_MCOUNT_TRACER_H\n" @@ -210,7 +214,8 @@ "+\n" "+#endif /* _LINUX_MCOUNT_TRACER_H */\n" "Index: linux-compile.git/lib/mcount/tracer_interface.h\n" - "=================================--- /dev/null\t1970-01-01 00:00:00.000000000 +0000\n" + "===================================================================\n" + "--- /dev/null\t1970-01-01 00:00:00.000000000 +0000\n" "+++ linux-compile.git/lib/mcount/tracer_interface.h\t2008-01-02 23:28:06.000000000 -0500\n" "@@ -0,0 +1,14 @@\n" "+#ifndef _LINUX_MCTRACER_INTERFACE_H\n" @@ -228,7 +233,8 @@ "+\n" "+#endif /* _LINUX_MCTRACER_INTERFACE_H */\n" "Index: linux-compile.git/lib/mcount/Makefile\n" - "=================================--- linux-compile.git.orig/lib/mcount/Makefile\t2008-01-02 23:24:53.000000000 -0500\n" + "===================================================================\n" + "--- linux-compile.git.orig/lib/mcount/Makefile\t2008-01-02 23:24:53.000000000 -0500\n" "+++ linux-compile.git/lib/mcount/Makefile\t2008-01-02 23:28:06.000000000 -0500\n" "@@ -1,3 +1,5 @@\n" " obj-$(CONFIG_MCOUNT) += libmcount.o\n" @@ -239,4 +245,4 @@ "\n" -- -601d33406618da9036db9dad5570f158d6ae3f03713c4752225fe56ebc6e0e16 +342290fe0f0eb67608f7569c5baeeca644ed7fcb5d9a93cc1b5bb403bffa292e
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.