From: Steven Rostedt (Red Hat) Date: Sat, 12 Jul 2014 03:23:53 +0000 (-0400) Subject: ftrace/x86: Have function graph tracer use its own trampoline X-Git-Tag: omap-for-v3.17/fixes-against-rc2~186^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1026ff9b8e6cbb112fd708b2e62f1812ce9a4e01;p=pandora-kernel.git ftrace/x86: Have function graph tracer use its own trampoline The function graph trampoline is called from the function trampoline and both do a save and restore of registers. The save of registers done by the function trampoline when only the function graph tracer is running is a waste of CPU cycles. As the function graph tracer trampoline in x86 is dependent from the function trampoline, we can call it directly when a function is only being traced by the function graph trampoline. Acked-by: H. Peter Anvin Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed