summaryrefslogtreecommitdiff
path: root/arch/x86/power
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-07-12 07:23:53 +0400
committerSteven Rostedt <rostedt@goodmis.org>2014-07-17 17:44:37 +0400
commit1026ff9b8e6cbb112fd708b2e62f1812ce9a4e01 (patch)
tree10b87601e9060c2cdb662c0783bbbca00c4a8e23 /arch/x86/power
parent646d7043adf3d92de5d3db1244a82a12628303de (diff)
downloadlinux-1026ff9b8e6cbb112fd708b2e62f1812ce9a4e01.tar.xz
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 <hpa@linux.intel.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/power')
0 files changed, 0 insertions, 0 deletions