aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_branch.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_branch.c')
-rw-r--r--kernel/trace/trace_branch.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/trace/trace_branch.c b/kernel/trace/trace_branch.c
index 1284145c8898..ea62f101e615 100644
--- a/kernel/trace/trace_branch.c
+++ b/kernel/trace/trace_branch.c
@@ -160,14 +160,13 @@ trace_print_print(struct trace_seq *s, struct trace_entry *entry, int flags)
160 return TRACE_TYPE_PARTIAL_LINE; 160 return TRACE_TYPE_PARTIAL_LINE;
161} 161}
162 162
163static int 163static int trace_branch_print(struct trace_iterator *iter, int flags)
164trace_branch_print(struct trace_seq *s, struct trace_entry *entry, int flags)
165{ 164{
166 struct trace_branch *field; 165 struct trace_branch *field;
167 166
168 trace_assign_type(field, entry); 167 trace_assign_type(field, iter->ent);
169 168
170 if (trace_seq_printf(s, "[%s] %s:%s:%d\n", 169 if (trace_seq_printf(&iter->seq, "[%s] %s:%s:%d\n",
171 field->correct ? " ok " : " MISS ", 170 field->correct ? " ok " : " MISS ",
172 field->func, 171 field->func,
173 field->file, 172 field->file,