]> 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)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:54:49 +0000 (13:54 -0700)
commit6ea4870f102c97460c57cc9ae32d8e17a277baef
tree14c67b9c20b14029bed2afff3507fe923601f35c
parent297cd2138dad33c4bec7902e833a637351232422
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: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
kernel/trace/ftrace.c