lkml.org 
[lkml]   [2012]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH -tip 0/3] Move kprobes files under the kprobes directory
From
Date
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@hitachi.com



\
 
 \ /
  Last update: 2012-09-28 10:41    [W:0.145 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site