From: Ingo Molnar <mingo@elte.hu>
To: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Cc: penberg@cs.helsinki.fi, rostedt@goodmis.org, fweisbec@gmail.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kmemtrace: Remove the relay version of kmemtrace.
Date: Tue, 6 Jan 2009 10:19:27 +0100 [thread overview]
Message-ID: <20090106091927.GA29863@elte.hu> (raw)
In-Reply-To: <20090106084905.GB29917@elte.hu>
* Ingo Molnar <mingo@elte.hu> wrote:
>
> * Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> wrote:
>
> > kmemtrace now uses ftrace. This patch removes the relay version.
> >
> > Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
> > ---
> > kernel/trace/Kconfig | 1 -
> > mm/Makefile | 1 -
> > mm/kmemtrace.c | 333 --------------------------------------------------
> > 3 files changed, 0 insertions(+), 335 deletions(-)
> > delete mode 100644 mm/kmemtrace.c
>
> applied to tip/tracing/kmemtrace2, thanks Eduard!
I needed the small fixlet below as well.
Ingo
-------------->
>From 3e80680208ba6ce9635ca7c21ad0019442ea166a Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Tue, 6 Jan 2009 10:16:35 +0100
Subject: [PATCH] kmemtrace: add kmemtrace_init()
Impact: build fix
leftover from the relayfs version - but we want to keep it because
this call is the earliest opportunity when we can start kmemtrace
tracing. (after kmem_cache_init()).
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
kernel/trace/kmemtrace.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/kernel/trace/kmemtrace.c b/kernel/trace/kmemtrace.c
index 2bfdcd3..faaa5ae 100644
--- a/kernel/trace/kmemtrace.c
+++ b/kernel/trace/kmemtrace.c
@@ -337,6 +337,11 @@ static struct tracer kmem_tracer __read_mostly = {
.flags = &kmem_tracer_flags
};
+void kmemtrace_init(void)
+{
+ /* earliest opportunity to start kmem tracing */
+}
+
static int __init init_kmem_tracer(void)
{
return register_tracer(&kmem_tracer);
next prev parent reply other threads:[~2009-01-06 9:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090105191330.GA1498@elte.hu>
2009-01-05 20:09 ` [PATCH] kmemtrace: Remove the relay version of kmemtrace Eduard - Gabriel Munteanu
2009-01-05 20:12 ` Eduard - Gabriel Munteanu
2009-01-06 0:47 ` Frederic Weisbecker
2009-01-06 8:50 ` Ingo Molnar
2009-01-06 8:49 ` Ingo Molnar
2009-01-06 9:19 ` Ingo Molnar [this message]
2009-01-06 9:29 ` Eduard - Gabriel Munteanu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090106091927.GA29863@elte.hu \
--to=mingo@elte.hu \
--cc=eduard.munteanu@linux360.ro \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=penberg@cs.helsinki.fi \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox