RFC kprobes: x86: Remove jprobes related code
Get series with b4
b4 am 152578658468.31022.8952561651556318637.stgit@devboxVersions newest first
- v1 RFC Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Documentation/kprobes: Fix to remove remaining jprobeDocumentation/ | +1 | 0 replies | |
| 2/4 | kprobes: Remove jprobe generic codekernel/ | +0 | 2 replies | |
| 3/4 | kprobes: x86: Remove jprobe x86 portarch/ arch/ | +0 | 0 replies | |
| 4/4 | bpf: error-inject: x86: Fix unbalanced preempt-count for function overridearch/ arch/ kernel/ +1 more | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [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(-)
Signature · 1 line
Masami Hiramatsu (Linaro) <[email protected]>