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 коммит произвёл Ingo Molnar
Родитель 3ce2b9200d
Коммит 7c572ac0cf
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -47,7 +47,7 @@ static void boot_trace_ctrl_update(struct trace_array *tr)
static int initcall_print_line(struct trace_iterator *iter) static int initcall_print_line(struct trace_iterator *iter)
{ {
int ret = 1; int ret = 0;
struct trace_entry *entry = iter->ent; struct trace_entry *entry = iter->ent;
struct boot_trace *it = &entry->field.initcall; struct boot_trace *it = &entry->field.initcall;
struct trace_seq *s = &iter->seq; struct trace_seq *s = &iter->seq;