login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
May
»
26
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Frederic Weisbecker
Subject:
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
Date: Wednesday, May 26, 2010 - 8:54 am
On Wed, May 26, 2010 at 06:38:43PM +0300, Eduard - Gabriel Munteanu wrote:
quoted text
> 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@cn.fujitsu.com> > > Acked-by: Pekka Enberg <penberg@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@linux360.ro>
Thanks, I'm queuing this patch, will add the forgotten Makefile change as well. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] tracing: Remove kmemtrace ftrace plugin
, Li Zefan
, (Wed May 26, 2:22 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Frederic Weisbecker
, (Wed May 26, 2:59 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Christoph Hellwig
, (Wed May 26, 3:16 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Frederic Weisbecker
, (Wed May 26, 3:18 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Christoph Hellwig
, (Wed May 26, 3:24 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Frederic Weisbecker
, (Wed May 26, 3:32 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Christoph Hellwig
, (Wed May 26, 4:03 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Frederic Weisbecker
, (Wed May 26, 4:10 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Peter Zijlstra
, (Wed May 26, 6:28 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Eduard - Gabriel Mun ...
, (Wed May 26, 8:38 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Frederic Weisbecker
, (Wed May 26, 8:54 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Frederic Weisbecker
, (Wed May 26, 9:00 am)
Re: [PATCH] tracing: Remove kmemtrace ftrace plugin
, Peter Zijlstra
, (Wed May 26, 9:06 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Oleg Nesterov
Re: init's children list is long and slows reaping children.
kogiidena
[PATCH 1/1] leds: LED Bitpattern Trigger
Stefan Richter
Re: [patch 00/04] RFC: Staging tree (drivers/staging)
David Miller
Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
[ARM] dma: use new dmabounce_sync_for_xxx() for dma_sync_single_xxx()
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Jacob Yocom-Piatt
Re: Same shit all over again
Colocation donated by:
Syndicate