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.2.44~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7e45b967b5bcd8ab3b9d5111bf1f17d89c71d3f;p=pandora-kernel.git ftrace: Consistently restore trace function on sysctl enabling commit 5000c418840b309251c5887f0b56503aae30f84c upstream. 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 Signed-off-by: Jan Kiszka Signed-off-by: Steven Rostedt Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed