[PATCH -tip 0/3] Move kprobes files under the kprobes directory

From: Masami Hiramatsu
Date: Fri Sep 28 2012 - 04:17:06 EST


Hi,

Here are a series of patches to split ftrace-based kprobe part
from arch/x86/kernel/kprobes.c and to move kprobes related
files under arch/x86/kernel/kprobes/, according to Ingo's
suggestion.
https://lkml.org/lkml/2012/9/20/122

Thank you,

---

Masami Hiramatsu (3):
ftrace: Move ARCH_SUPPORTS_FTRACE_SAVE_REGS in Kconfig
kprobes/x86: Move ftrace-based kprobe code into kprobes-ftrace.c
kprobes/x86: Move kprobes stuff under arch/x86/kernel/kprobes/


arch/Kconfig | 12
arch/x86/Kconfig | 2
arch/x86/include/asm/ftrace.h | 1
arch/x86/kernel/Makefile | 3
arch/x86/kernel/kprobes-common.h | 102 ---
arch/x86/kernel/kprobes-opt.c | 512 -----------------
arch/x86/kernel/kprobes.c | 1130 --------------------------------------
arch/x86/kernel/kprobes/Makefile | 7
arch/x86/kernel/kprobes/common.h | 113 ++++
arch/x86/kernel/kprobes/core.c | 1064 ++++++++++++++++++++++++++++++++++++
arch/x86/kernel/kprobes/ftrace.c | 93 +++
arch/x86/kernel/kprobes/opt.c | 512 +++++++++++++++++
include/linux/ftrace.h | 6
include/linux/kprobes.h | 12
kernel/kprobes.c | 8
kernel/trace/Kconfig | 8
kernel/trace/ftrace.c | 6
kernel/trace/trace_selftest.c | 2
18 files changed, 1824 insertions(+), 1769 deletions(-)
delete mode 100644 arch/x86/kernel/kprobes-common.h
delete mode 100644 arch/x86/kernel/kprobes-opt.c
delete mode 100644 arch/x86/kernel/kprobes.c
create mode 100644 arch/x86/kernel/kprobes/Makefile
create mode 100644 arch/x86/kernel/kprobes/common.h
create mode 100644 arch/x86/kernel/kprobes/core.c
create mode 100644 arch/x86/kernel/kprobes/ftrace.c
create mode 100644 arch/x86/kernel/kprobes/opt.c

--
Masami Hiramatsu
Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/