Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169425
b: refs/heads/master
c: 588bebb
h: refs/heads/master
i:
  169423: a2042a5
v: v3
  • Loading branch information
Masami Hiramatsu authored and Frederic Weisbecker committed Sep 17, 2009
1 parent 57084c5 commit 95a7799
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2d5e067edc4635ff7515bfa9ab3edb38bc344cab
refs/heads/master: 588bebb74fe87270f94c2810652bd683d63c4b54
5 changes: 4 additions & 1 deletion trunk/kernel/trace/trace_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,12 @@ static int __trace_add_event_call(struct ftrace_event_call *call)
return -ENOENT;

list_add(&call->list, &ftrace_events);
return event_create_dir(call, d_events, &ftrace_event_id_fops,
ret = event_create_dir(call, d_events, &ftrace_event_id_fops,
&ftrace_enable_fops, &ftrace_event_filter_fops,
&ftrace_event_format_fops);
if (ret < 0)
list_del(&call->list);
return ret;
}

/* Add an additional event_call dynamically */
Expand Down

0 comments on commit 95a7799

Please sign in to comment.