Skip to content

Commit 7c572ac

Browse files
fweisbecIngo Molnar
authored andcommitted
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
1 parent 3ce2b92 commit 7c572ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/trace_boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static void boot_trace_ctrl_update(struct trace_array *tr)
4747

4848
static int initcall_print_line(struct trace_iterator *iter)
4949
{
50-
int ret = 1;
50+
int ret = 0;
5151
struct trace_entry *entry = iter->ent;
5252
struct boot_trace *it = &entry->field.initcall;
5353
struct trace_seq *s = &iter->seq;

0 commit comments

Comments
 (0)