[PATCH v2 0/5] powerpc: a few kprobe fixes and refactoring
Naveen N. Rao
naveen.n.rao at linux.vnet.ibm.com
Wed Apr 12 20:58:23 AEST 2017
v1:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1334843.html
For v2, this series has been re-ordered and rebased on top of
powerpc/next so as to make it easier to resolve conflicts with -tip. No
other changes.
- Naveen
Naveen N. Rao (5):
kprobes: convert kprobe_lookup_name() to a function
powerpc: kprobes: fix handling of function offsets on ABIv2
powerpc: introduce a new helper to obtain function entry points
powerpc: kprobes: factor out code to emulate instruction into a helper
powerpc: kprobes: emulate instructions on kprobe handler re-entry
arch/powerpc/include/asm/code-patching.h | 37 ++++++++++
arch/powerpc/include/asm/kprobes.h | 53 --------------
arch/powerpc/kernel/kprobes.c | 119 +++++++++++++++++++++++++------
arch/powerpc/kernel/optprobes.c | 6 +-
include/linux/kprobes.h | 1 +
kernel/kprobes.c | 21 +++---
6 files changed, 147 insertions(+), 90 deletions(-)
--
2.12.1
More information about the Linuxppc-dev
mailing list