Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141032
b: refs/heads/master
c: 05ce581
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt committed Mar 24, 2009
1 parent 3969525 commit fb4ff6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d1a03dc541dc6672e60e57249ed22f40654ca47
refs/heads/master: 05ce5818adee8f8efd0a5ca0d900a6789012516b
6 changes: 6 additions & 0 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -2643,6 +2643,12 @@ int register_ftrace_graph(trace_func_graph_ret_t retfunc,

mutex_lock(&ftrace_lock);

/* we currently allow only one tracer registered at a time */
if (atomic_read(&ftrace_graph_active)) {
ret = -EBUSY;
goto out;
}

ftrace_suspend_notifier.notifier_call = ftrace_suspend_notifier_call;
register_pm_notifier(&ftrace_suspend_notifier);

Expand Down

0 comments on commit fb4ff6a

Please sign in to comment.