kprobes/x86: Move ftrace-based kprobe code into kprobes-ftrace.c
authorMasami Hiramatsu <[email protected]>
Fri, 28 Sep 2012 08:15:20 +0000 (17:15 +0900)
committerSteven Rostedt <[email protected]>
Mon, 21 Jan 2013 18:22:36 +0000 (13:22 -0500)
commite7dbfe349d12eabb7783b117e0c115f6f3d9ef9e
tree8b567abaef12e5bb82171eea70e7f02816958ae9
parent06aeaaeabf69da4a3e86df532425640f51b01cef
kprobes/x86: Move ftrace-based kprobe code into kprobes-ftrace.c

Split ftrace-based kprobes code from kprobes, and introduce
CONFIG_(HAVE_)KPROBES_ON_FTRACE Kconfig flags.
For the cleanup reason, this also moves kprobe_ftrace check
into skip_singlestep.

Link: http://lkml.kernel.org/r/[email protected]
Cc: Ingo Molnar <[email protected]>
Cc: Ananth N Mavinakayanahalli <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Signed-off-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
arch/Kconfig
arch/x86/Kconfig
arch/x86/kernel/Makefile
arch/x86/kernel/kprobes-common.h
arch/x86/kernel/kprobes-ftrace.c [new file with mode: 0644]
arch/x86/kernel/kprobes.c
include/linux/kprobes.h
kernel/kprobes.c