From: Jan Kiszka Date: Tue, 26 Mar 2013 16:53:03 +0000 (+0100) Subject: ftrace: Consistently restore trace function on sysctl enabling X-Git-Tag: v3.9-rc7~42^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5000c418840b309251c5887f0b56503aae30f84c;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed