commit | 5000c418840b309251c5887f0b56503aae30f84c | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Tue Mar 26 17:53:03 2013 +0100 |
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | Mon Apr 08 12:24:22 2013 -0400 |
tree | dd6b37707670ac5eaaba9f395c999328904dd38b | |
parent | 2930e04d00e113ae24bb2b7c2b58de7b648a62c7 [diff] |
ftrace: Consistently restore trace function on sysctl enabling If we reenable ftrace via syctl, we currently set ftrace_trace_function based on the previous simplistic algorithm. This is inconsistent with what update_ftrace_function does. So better call that helper instead. Link: http://lkml.kernel.org/r/5151D26F.1070702@siemens.com Cc: stable@vger.kernel.org Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>