]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
tracing/ftrace: don't consume unhandled entries by boot tracer
authorFrédéric Weisbecker <fweisbec@gmail.com>
Thu, 25 Sep 2008 12:25:30 +0000 (13:25 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:52 +0000 (10:38 +0200)
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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_boot.c

index c65ef8ffd6b4ede6cc5f6d5c746162d0607d24e8..d5c9e2e4a9c4b093c60dc497b2c73d93828d8e67 100644 (file)
@@ -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;