diff options
author | Frédéric Weisbecker <fweisbec@gmail.com> | 2008-09-25 08:25:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-14 04:38:52 -0400 |
commit | 7c572ac0cf5e8cd8e17f084bc6c253296cc42279 (patch) | |
tree | 687ab958f3f4b9689064437808bf7fc508e28c4d /kernel/trace | |
parent | 3ce2b9200da8b7170cc7463b7ee4212fad7b291e (diff) |
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>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace_boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_boot.c b/kernel/trace/trace_boot.c index c65ef8ffd6b4..d5c9e2e4a9c4 100644 --- a/kernel/trace/trace_boot.c +++ b/kernel/trace/trace_boot.c | |||
@@ -47,7 +47,7 @@ static void boot_trace_ctrl_update(struct trace_array *tr) | |||
47 | 47 | ||
48 | static int initcall_print_line(struct trace_iterator *iter) | 48 | static int initcall_print_line(struct trace_iterator *iter) |
49 | { | 49 | { |
50 | int ret = 1; | 50 | int ret = 0; |
51 | struct trace_entry *entry = iter->ent; | 51 | struct trace_entry *entry = iter->ent; |
52 | struct boot_trace *it = &entry->field.initcall; | 52 | struct boot_trace *it = &entry->field.initcall; |
53 | struct trace_seq *s = &iter->seq; | 53 | struct trace_seq *s = &iter->seq; |