From: Steven Rostedt Date: Sat, 16 Aug 2008 01:40:05 +0000 (-0400) Subject: ftrace: add necessary locking for ftrace records X-Git-Tag: v2.6.28-rc1~78^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ecdc43bc17faf5fa571db8569df171ecd0e5b8;p=pandora-kernel.git ftrace: add necessary locking for ftrace records The new design of pre-recorded mcounts and updating the code outside of kstop_machine has changed the way the records themselves are protected. This patch uses the ftrace_lock to protect the records. Note, the lock still does not need to be taken within calls that are only called via kstop_machine, since the that code can not run while the spin lock is held. Also removed the hash_lock needed for the daemon when MCOUNT_RECORD is configured. Also did a slight cleanup of an unused variable. Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed