[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <152578658468.31022.8952561651556318637.stgit@devbox>
Date: Tue, 8 May 2018 22:36:24 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Ingo Molnar <mingo@...nel.org>
Cc: mhiramat@...nel.org,
Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...hat.com>,
Ananth N Mavinakayanahalli <ananth@...ux.vnet.ibm.com>,
Anil S Keshavamurthy <anil.s.keshavamurthy@...el.com>,
"David S . Miller" <davem@...emloft.net>,
Thomas Gleixner <tglx@...utronix.de>,
Josef Bacik <jbacik@...com>,
Alexei Starovoitov <ast@...nel.org>
Subject: [RFC PATCH -tip 0/4] kprobes: x86: Remove jprobes related code
Hi,
This series is a core part of removing jprobes related
code from generic part and x86 tree. This also simplifies
the preparation code for function override by balancing
preempt count and current kprobe setting inside
kprobe_int3_handler and kprobe_ftrace_handler.
[1/4]: Trivial cleanup, remove a remaining "jps" word
from document.
[2/4]: Remove arch-independent jprobe code from
kernel/kprobes.c. This prevents link errors
after removing arch dependent jprobe ports.
[3/4]: Remove x86 jprobe port.
[4/4]: Simplify preempt count and current kprobe setting
inside kprobe_int3_handler and kprobe_ftrace_handler.
I'm preparing similar patches for other archs. But I think
this series can be (and should be) merged first, since
the function override feature (which is the only in-tree
component affected by this change) is implemented on x86.
Thank you,
---
Masami Hiramatsu (4):
Documentation/kprobes: Fix to remove remaining jprobe
kprobes: Remove jprobe generic code
kprobes: x86: Remove jprobe x86 port
bpf: error-inject: x86: Fix unbalanced preempt-count for function override
Documentation/kprobes.txt | 2 -
arch/x86/include/asm/kprobes.h | 3 -
arch/x86/kernel/kprobes/core.c | 113 ++++----------------------------------
arch/x86/kernel/kprobes/ftrace.c | 16 +++--
kernel/fail_function.c | 3 -
kernel/kprobes.c | 76 --------------------------
kernel/trace/trace_kprobe.c | 11 +---
7 files changed, 24 insertions(+), 200 deletions(-)
--
Masami Hiramatsu (Linaro) <mhiramat@...nel.org>
Powered by blists - more mailing lists