Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146213
b: refs/heads/master
c: f11b3f4
h: refs/heads/master
i:
  146211: b14c0f2
v: v3
  • Loading branch information
walimis authored and Steven Rostedt committed Jun 3, 2009
1 parent c6b8787 commit 22ced6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 083a63b48e4dd0a6a2d44216720076dc81ebb255
refs/heads/master: f11b3f4e2932bfdcfc458ab8d1ece62724ceabfc
14 changes: 7 additions & 7 deletions trunk/kernel/trace/trace_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,16 +975,16 @@ static enum print_line_t trace_stack_print(struct trace_iterator *iter,

trace_assign_type(field, iter->ent);

if (!trace_seq_puts(s, "\n"))
goto partial;
for (i = 0; i < FTRACE_STACK_ENTRIES; i++) {
if (!field->caller[i])
if (!field->caller[i] || (field->caller[i] == ULONG_MAX))
break;
if (i) {
if (!trace_seq_puts(s, " <= "))
goto partial;
if (!trace_seq_puts(s, " => "))
goto partial;

if (!seq_print_ip_sym(s, field->caller[i], flags))
goto partial;
}
if (!seq_print_ip_sym(s, field->caller[i], flags))
goto partial;
if (!trace_seq_puts(s, "\n"))
goto partial;
}
Expand Down

0 comments on commit 22ced6e

Please sign in to comment.