This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH v4 -tip 0/3] x86/kprobes: bugfixes and split optprobes
- From: Masami Hiramatsu <masami dot hiramatsu dot pt at hitachi dot com>
- To: Ingo Molnar <mingo at elte dot hu>, linux-kernel at vger dot kernel dot org
- Cc: Thomas Gleixner <tglx at linutronix dot de>, "H. Peter Anvin" <hpa at zytor dot com>, Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>, yrl dot pp-manager dot tt at hitachi dot com, systemtap at sourceware dot org, anderson at redhat dot com
- Date: Mon, 05 Mar 2012 22:32:01 +0900
- Subject: [PATCH v4 -tip 0/3] x86/kprobes: bugfixes and split optprobes
Hi,
Here are the patches for fixing bugs in kprobes on x86.
- Both bugs are related to the optprobe.
- First bugfix is optprobe to recover instructions when
thoes are modified with jump.
- Second bugfix is kprobes to recover it too.
This series also includes a patch which split optprobes
parts out from kprobes x86 implementation.
Ingo, I've added the splitting patch according your
advice :)
Thank you,
---
Masami Hiramatsu (3):
x86/kprobes: Split out optprobe related code to kprobes-opt.c
[BUGFIX] x86/kprobes: Fix a bug which can modify kernel code
[BUGFIX] x86/kprobes: Fix to recover instructions on optimized path
arch/x86/kernel/Makefile | 1
arch/x86/kernel/kprobes-common.h | 106 ++++++
arch/x86/kernel/kprobes-opt.c | 516 +++++++++++++++++++++++++++++++
arch/x86/kernel/kprobes.c | 633 ++++----------------------------------
4 files changed, 684 insertions(+), 572 deletions(-)
create mode 100644 arch/x86/kernel/kprobes-common.h
create mode 100644 arch/x86/kernel/kprobes-opt.c
--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com