]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ftrace/x86: skip over the breakpoint for ftrace caller
authorKevin Hao <haokexin@gmail.com>
Wed, 23 Oct 2013 12:58:16 +0000 (20:58 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 5 Nov 2013 21:01:47 +0000 (16:01 -0500)
commitab4ead02ec235d706d0611d8741964628291237e
tree3a0d764b40cc2219d8ded433dcf4fe48b1b3e7fc
parent9cd804ac1f39e10510bf93700f1f7ea66b2e1b38
ftrace/x86: skip over the breakpoint for ftrace caller

In commit 8a4d0a687a59 "ftrace: Use breakpoint method to update ftrace
caller", we choose to use breakpoint method to update the ftrace
caller. But we also need to skip over the breakpoint in function
ftrace_int3_handler() for them. Otherwise weird things would happen.

Cc: stable@vger.kernel.org # 3.5+
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/ftrace.c