public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch -tip 2/3] Tracing/ftrace: Don't consume unhandled entries by boot tracer
@ 2008-09-25 12:25 Frédéric Weisbecker
  2008-09-25 12:53 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Frédéric Weisbecker @ 2008-09-25 12:25 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

When the boot tracer can't handle an entry output, it returns 1.
It should return 0 to relay on other output functions.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
--

[-- Attachment #2: 2.diff --]
[-- Type: text/plain, Size: 461 bytes --]

diff --git a/kernel/trace/trace_boot.c b/kernel/trace/trace_boot.c
index c65ef8f..d5c9e2e 100644
--- a/kernel/trace/trace_boot.c
+++ b/kernel/trace/trace_boot.c
@@ -47,7 +47,7 @@ static void boot_trace_ctrl_update(struct trace_array *tr)
 
 static int initcall_print_line(struct trace_iterator *iter)
 {
-	int ret = 1;
+	int ret = 0;
 	struct trace_entry *entry = iter->ent;
 	struct boot_trace *it = &entry->field.initcall;
 	struct trace_seq *s = &iter->seq;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch -tip 2/3] Tracing/ftrace: Don't consume unhandled entries by boot tracer
  2008-09-25 12:25 [Patch -tip 2/3] Tracing/ftrace: Don't consume unhandled entries by boot tracer Frédéric Weisbecker
@ 2008-09-25 12:53 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-09-25 12:53 UTC (permalink / raw)
  To: Frédéric Weisbecker; +Cc: linux-kernel, Steven Rostedt


* Frédéric Weisbecker <fweisbec@gmail.com> wrote:

> When the boot tracer can't handle an entry output, it returns 1.
> It should return 0 to relay on other output functions.
> 
> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>

applied to tip/tracing/fastboot, thanks Frédéric!

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-25 12:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-25 12:25 [Patch -tip 2/3] Tracing/ftrace: Don't consume unhandled entries by boot tracer Frédéric Weisbecker
2008-09-25 12:53 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox