[Patch -tip 2/3] Tracing/ftrace: Don't consume unhandled entriesby boot tracer
From: Frédéric Weisbecker
Date: Thu Sep 25 2008 - 07:19:59 EST
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@xxxxxxxxx>
--
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;