diff options
Diffstat (limited to 'kernel/trace/trace_output.c')
-rw-r--r-- | kernel/trace/trace_output.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kernel/trace/trace_output.c b/kernel/trace/trace_output.c index 0fe3b223f7ed..64596a571609 100644 --- a/kernel/trace/trace_output.c +++ b/kernel/trace/trace_output.c | |||
@@ -975,16 +975,16 @@ static enum print_line_t trace_stack_print(struct trace_iterator *iter, | |||
975 | 975 | ||
976 | trace_assign_type(field, iter->ent); | 976 | trace_assign_type(field, iter->ent); |
977 | 977 | ||
978 | if (!trace_seq_puts(s, "\n")) | ||
979 | goto partial; | ||
978 | for (i = 0; i < FTRACE_STACK_ENTRIES; i++) { | 980 | for (i = 0; i < FTRACE_STACK_ENTRIES; i++) { |
979 | if (!field->caller[i]) | 981 | if (!field->caller[i] || (field->caller[i] == ULONG_MAX)) |
980 | break; | 982 | break; |
981 | if (i) { | 983 | if (!trace_seq_puts(s, " => ")) |
982 | if (!trace_seq_puts(s, " <= ")) | 984 | goto partial; |
983 | goto partial; | ||
984 | 985 | ||
985 | if (!seq_print_ip_sym(s, field->caller[i], flags)) | 986 | if (!seq_print_ip_sym(s, field->caller[i], flags)) |
986 | goto partial; | 987 | goto partial; |
987 | } | ||
988 | if (!trace_seq_puts(s, "\n")) | 988 | if (!trace_seq_puts(s, "\n")) |
989 | goto partial; | 989 | goto partial; |
990 | } | 990 | } |