Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362318
b: refs/heads/master
c: 5000c41
h: refs/heads/master
v: v3
  • Loading branch information
Jan Kiszka authored and Steven Rostedt committed Apr 8, 2013
1 parent 3d34562 commit d275d67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 2930e04d00e113ae24bb2b7c2b58de7b648a62c7
refs/heads/master: 5000c418840b309251c5887f0b56503aae30f84c
8 changes: 2 additions & 6 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -4555,12 +4555,8 @@ ftrace_enable_sysctl(struct ctl_table *table, int write,
ftrace_startup_sysctl();

/* we are starting ftrace again */
if (ftrace_ops_list != &ftrace_list_end) {
if (ftrace_ops_list->next == &ftrace_list_end)
ftrace_trace_function = ftrace_ops_list->func;
else
ftrace_trace_function = ftrace_ops_list_func;
}
if (ftrace_ops_list != &ftrace_list_end)
update_ftrace_function();

} else {
/* stopping ftrace calls (just send to ftrace_stub) */
Expand Down

0 comments on commit d275d67

Please sign in to comment.