Skip to content

Commit

Permalink
tracing/ftrace: don't consume unhandled entries by boot tracer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frédéric Weisbecker authored and Ingo Molnar committed Oct 14, 2008
1 parent 3ce2b92 commit 7c572ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/trace/trace_boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7c572ac

Please sign in to comment.