tracing/ftrace: don't consume unhandled entries by boot tracer

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>
This commit is contained in:
Frédéric Weisbecker 2008-09-25 13:25:30 +01:00 committed by Ingo Molnar
parent 3ce2b9200d
commit 7c572ac0cf

View 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;