Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146214
b: refs/heads/master
c: 048dc50
h: refs/heads/master
v: v3
  • Loading branch information
walimis authored and Steven Rostedt committed Jun 3, 2009
1 parent 22ced6e commit 972a3d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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: f11b3f4e2932bfdcfc458ab8d1ece62724ceabfc
refs/heads/master: 048dc50c5e7eada19ebabbad70b7966d14283d41
11 changes: 7 additions & 4 deletions trunk/kernel/trace/trace_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,17 +389,20 @@ seq_print_userip_objs(const struct userstack_entry *entry, struct trace_seq *s,

if (ip == ULONG_MAX || !ret)
break;
if (i && ret)
ret = trace_seq_puts(s, " <- ");
if (ret)
ret = trace_seq_puts(s, " => ");
if (!ip) {
if (ret)
ret = trace_seq_puts(s, "??");
if (ret)
ret = trace_seq_puts(s, "\n");
continue;
}
if (!ret)
break;
if (ret)
ret = seq_print_user_ip(s, mm, ip, sym_flags);
ret = trace_seq_puts(s, "\n");
}

if (mm)
Expand Down Expand Up @@ -1012,10 +1015,10 @@ static enum print_line_t trace_user_stack_print(struct trace_iterator *iter,

trace_assign_type(field, iter->ent);

if (!seq_print_userip_objs(field, s, flags))
if (!trace_seq_putc(s, '\n'))
goto partial;

if (!trace_seq_putc(s, '\n'))
if (!seq_print_userip_objs(field, s, flags))
goto partial;

return TRACE_TYPE_HANDLED;
Expand Down

0 comments on commit 972a3d0

Please sign in to comment.