]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ftrace: Only update the function code on write to filter files
authorSteven Rostedt <srostedt@redhat.com>
Sat, 30 Apr 2011 02:35:33 +0000 (22:35 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:20:23 +0000 (11:20 -0400)
commit8a6e54faf593e6a7526e16fe56deb4a29d7d172e
treef3a42dab2745eaa273206abf69b6b5a16d276392
parenta7ee11132532663e1fface3165a86d811ebad1a0
ftrace: Only update the function code on write to filter files

commit 058e297d34a404caaa5ed277de15698d8dc43000 upstream.

If function tracing is enabled, a read of the filter files will
cause the call to stop_machine to update the function trace sites.
It should only call stop_machine on write.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/trace/ftrace.c