Tracing/ftrace: Don't consume unhandled entries by boot tracer
PATCH 2/3 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]>
--
kernel/trace/trace_boot.c +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) { -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;
Quoted 4 lines · Frédéric Weisbecker
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]>
applied to tip/tracing/fastboot, thanks Frédéric!
Ingo