Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140837
b: refs/heads/master
c: c5e4e19
h: refs/heads/master
i:
  140835: 723191f
v: v3
  • Loading branch information
Steven Rostedt committed Mar 2, 2009
1 parent 09c7924 commit 0c2be65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 91729ef96661bfa7dc53923746cd90b62d5495cc
refs/heads/master: c5e4e19271edfdf1abd4184933d40d646da6a091
6 changes: 5 additions & 1 deletion trunk/kernel/trace/trace_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,11 @@ event_format_read(struct file *filp, char __user *ubuf, size_t cnt,
if (*ppos)
return 0;

/* If this fails, so will the show_format. */
/* If any of the first writes fail, so will the show_format. */

trace_seq_printf(s, "name: %s\n", call->name);
trace_seq_printf(s, "ID: %d\n", call->id);
trace_seq_printf(s, "format:\n");
trace_write_header(s);

r = call->show_format(s);
Expand Down

0 comments on commit 0c2be65

Please sign in to comment.