lkml.org 
[lkml]   [2018]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH -tip 0/4] kprobes: x86: Remove jprobes related code
Date
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@kernel.org>

\
 
 \ /
  Last update: 2018-05-08 15:38    [W:0.058 / U:5.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site