kprobes/x86: Move ftrace-based kprobe code into kprobes-ftrace.c
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Fri, 28 Sep 2012 08:15:20 +0000 (17:15 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
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/20120928081520.3560.25624.stgit@ltc138.sdl.hitachi.co.jp
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
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