Prev: mx5: Add i2c to Freescale MX51 Babbage HW
Next: [PATCH 1/3] splice: check f_mode for seekable file
From: Christoph Hellwig on 26 May 2010 07:10 On Wed, May 26, 2010 at 12:32:23PM +0200, Frederic Weisbecker wrote: > But which debugfs code? Nothing related to $(DEBUGFS)/tracing right? Exactly. Blktrace creates it's own files under $(DEBUGFS)/block when enabled through the old ioctls. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Frederic Weisbecker on 26 May 2010 07:20 On Wed, May 26, 2010 at 07:03:20AM -0400, Christoph Hellwig wrote: > On Wed, May 26, 2010 at 12:32:23PM +0200, Frederic Weisbecker wrote: > > But which debugfs code? Nothing related to $(DEBUGFS)/tracing right? > > Exactly. Blktrace creates it's own files under $(DEBUGFS)/block when > enabled through the old ioctls. I see. So it has never been updated to support the ftrace plugin. Fine then, lets remove it. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Peter Zijlstra on 26 May 2010 09:30 On Wed, 2010-05-26 at 11:59 +0200, Frederic Weisbecker wrote: > On Wed, May 26, 2010 at 05:22:17PM +0800, Li Zefan wrote: > > We have been resisting new ftrace plugins and removing existing > > ones, and kmemtrace has been superseded by kmem trace events > > and perf-kmem, so we remove it. > > > > Signed-off-by: Li Zefan <lizf(a)cn.fujitsu.com> > > Acked-by: Pekka Enberg <penberg(a)cs.helsinki.fi> > > --- > > Documentation/ABI/testing/debugfs-kmemtrace | 71 ---- > > Documentation/trace/kmemtrace.txt | 126 ------- > > MAINTAINERS | 7 - > > include/linux/kmemtrace.h | 25 -- > > include/linux/slab_def.h | 3 +- > > include/linux/slub_def.h | 3 +- > > init/main.c | 2 - > > kernel/trace/Kconfig | 20 - > > kernel/trace/kmemtrace.c | 529 --------------------------- > > kernel/trace/trace.h | 13 - > > kernel/trace/trace_entries.h | 35 -- > > mm/slab.c | 1 - > > mm/slub.c | 1 - > > 13 files changed, 4 insertions(+), 832 deletions(-) > > delete mode 100644 Documentation/ABI/testing/debugfs-kmemtrace > > delete mode 100644 Documentation/trace/kmemtrace.txt > > delete mode 100644 include/linux/kmemtrace.h > > delete mode 100644 kernel/trace/kmemtrace.c > > > > Thanks! > > Just one thing: you forgot to update the kernel/trace/Makefile You can also axe kernel/tracing/trace_sysprof.c and related bits. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Eduard - Gabriel Munteanu on 26 May 2010 11:40 On Wed, May 26, 2010 at 05:22:17PM +0800, Li Zefan wrote: > We have been resisting new ftrace plugins and removing existing > ones, and kmemtrace has been superseded by kmem trace events > and perf-kmem, so we remove it. > > Signed-off-by: Li Zefan <lizf(a)cn.fujitsu.com> > Acked-by: Pekka Enberg <penberg(a)cs.helsinki.fi> > --- > Documentation/ABI/testing/debugfs-kmemtrace | 71 ---- > Documentation/trace/kmemtrace.txt | 126 ------- > MAINTAINERS | 7 - > include/linux/kmemtrace.h | 25 -- > include/linux/slab_def.h | 3 +- > include/linux/slub_def.h | 3 +- > init/main.c | 2 - > kernel/trace/Kconfig | 20 - > kernel/trace/kmemtrace.c | 529 --------------------------- > kernel/trace/trace.h | 13 - > kernel/trace/trace_entries.h | 35 -- > mm/slab.c | 1 - > mm/slub.c | 1 - > 13 files changed, 4 insertions(+), 832 deletions(-) > delete mode 100644 Documentation/ABI/testing/debugfs-kmemtrace > delete mode 100644 Documentation/trace/kmemtrace.txt > delete mode 100644 include/linux/kmemtrace.h > delete mode 100644 kernel/trace/kmemtrace.c Oh my, this one started quite a massacre judging by other replies! :-) [snip] > diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h > index 1812dac..1acfa73 100644 > --- a/include/linux/slab_def.h > +++ b/include/linux/slab_def.h > @@ -14,7 +14,8 @@ > #include <asm/page.h> /* kmalloc_sizes.h needs PAGE_SIZE */ > #include <asm/cache.h> /* kmalloc_sizes.h needs L1_CACHE_BYTES */ > #include <linux/compiler.h> > -#include <linux/kmemtrace.h> > + > +#include <trace/events/kmem.h> > > #ifndef ARCH_KMALLOC_MINALIGN > /* > diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h > index 55695c8..2345d3a 100644 > --- a/include/linux/slub_def.h > +++ b/include/linux/slub_def.h > @@ -10,9 +10,10 @@ > #include <linux/gfp.h> > #include <linux/workqueue.h> > #include <linux/kobject.h> > -#include <linux/kmemtrace.h> > #include <linux/kmemleak.h> > > +#include <trace/events/kmem.h> > + > enum stat_item { > ALLOC_FASTPATH, /* Allocation from cpu slab */ > ALLOC_SLOWPATH, /* Allocation by getting a new cpu slab */ [snip] > diff --git a/mm/slab.c b/mm/slab.c > index 02786e1..2dba2d4 100644 > --- a/mm/slab.c > +++ b/mm/slab.c > @@ -102,7 +102,6 @@ > #include <linux/cpu.h> > #include <linux/sysctl.h> > #include <linux/module.h> > -#include <linux/kmemtrace.h> > #include <linux/rcupdate.h> > #include <linux/string.h> > #include <linux/uaccess.h> > diff --git a/mm/slub.c b/mm/slub.c > index 26f0cb9..a61f1aa 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -17,7 +17,6 @@ > #include <linux/slab.h> > #include <linux/proc_fs.h> > #include <linux/seq_file.h> > -#include <linux/kmemtrace.h> > #include <linux/kmemcheck.h> > #include <linux/cpu.h> > #include <linux/cpuset.h> I'd suggest including 'trace/events/kmem.h' here as well. Though it most likely gets the trace_kmem_* stuff through 'linux/slab.h'. Here's my ack if you need it: Acked-by: Eduard - Gabriel Munteanu <eduard.munteanu(a)linux360.ro> Eduard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Frederic Weisbecker on 26 May 2010 12:00 On Wed, May 26, 2010 at 06:38:43PM +0300, Eduard - Gabriel Munteanu wrote: > On Wed, May 26, 2010 at 05:22:17PM +0800, Li Zefan wrote: > > We have been resisting new ftrace plugins and removing existing > > ones, and kmemtrace has been superseded by kmem trace events > > and perf-kmem, so we remove it. > > > > Signed-off-by: Li Zefan <lizf(a)cn.fujitsu.com> > > Acked-by: Pekka Enberg <penberg(a)cs.helsinki.fi> > > --- > > Documentation/ABI/testing/debugfs-kmemtrace | 71 ---- > > Documentation/trace/kmemtrace.txt | 126 ------- > > MAINTAINERS | 7 - > > include/linux/kmemtrace.h | 25 -- > > include/linux/slab_def.h | 3 +- > > include/linux/slub_def.h | 3 +- > > init/main.c | 2 - > > kernel/trace/Kconfig | 20 - > > kernel/trace/kmemtrace.c | 529 --------------------------- > > kernel/trace/trace.h | 13 - > > kernel/trace/trace_entries.h | 35 -- > > mm/slab.c | 1 - > > mm/slub.c | 1 - > > 13 files changed, 4 insertions(+), 832 deletions(-) > > delete mode 100644 Documentation/ABI/testing/debugfs-kmemtrace > > delete mode 100644 Documentation/trace/kmemtrace.txt > > delete mode 100644 include/linux/kmemtrace.h > > delete mode 100644 kernel/trace/kmemtrace.c > > Oh my, this one started quite a massacre judging by other replies! :-) > > [snip] > > > diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h > > index 1812dac..1acfa73 100644 > > --- a/include/linux/slab_def.h > > +++ b/include/linux/slab_def.h > > @@ -14,7 +14,8 @@ > > #include <asm/page.h> /* kmalloc_sizes.h needs PAGE_SIZE */ > > #include <asm/cache.h> /* kmalloc_sizes.h needs L1_CACHE_BYTES */ > > #include <linux/compiler.h> > > -#include <linux/kmemtrace.h> > > + > > +#include <trace/events/kmem.h> > > > > #ifndef ARCH_KMALLOC_MINALIGN > > /* > > diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h > > index 55695c8..2345d3a 100644 > > --- a/include/linux/slub_def.h > > +++ b/include/linux/slub_def.h > > @@ -10,9 +10,10 @@ > > #include <linux/gfp.h> > > #include <linux/workqueue.h> > > #include <linux/kobject.h> > > -#include <linux/kmemtrace.h> > > #include <linux/kmemleak.h> > > > > +#include <trace/events/kmem.h> > > + > > enum stat_item { > > ALLOC_FASTPATH, /* Allocation from cpu slab */ > > ALLOC_SLOWPATH, /* Allocation by getting a new cpu slab */ > > [snip] > > > diff --git a/mm/slab.c b/mm/slab.c > > index 02786e1..2dba2d4 100644 > > --- a/mm/slab.c > > +++ b/mm/slab.c > > @@ -102,7 +102,6 @@ > > #include <linux/cpu.h> > > #include <linux/sysctl.h> > > #include <linux/module.h> > > -#include <linux/kmemtrace.h> > > #include <linux/rcupdate.h> > > #include <linux/string.h> > > #include <linux/uaccess.h> > > diff --git a/mm/slub.c b/mm/slub.c > > index 26f0cb9..a61f1aa 100644 > > --- a/mm/slub.c > > +++ b/mm/slub.c > > @@ -17,7 +17,6 @@ > > #include <linux/slab.h> > > #include <linux/proc_fs.h> > > #include <linux/seq_file.h> > > -#include <linux/kmemtrace.h> > > #include <linux/kmemcheck.h> > > #include <linux/cpu.h> > > #include <linux/cpuset.h> > > I'd suggest including 'trace/events/kmem.h' here as well. Though it most > likely gets the trace_kmem_* stuff through 'linux/slab.h'. > > Here's my ack if you need it: > > Acked-by: Eduard - Gabriel Munteanu <eduard.munteanu(a)linux360.ro> Thanks, I'm queuing this patch, will add the forgotten Makefile change as well. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: mx5: Add i2c to Freescale MX51 Babbage HW Next: [PATCH 1/3] splice: check f_mode for seekable file |