lkml.org 
[lkml]   [2012]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/2] uprobes/powerpc: Replace ptrace single step helpers
From
Date
The following series replaces the ptrace helpers used for single step
enable/disable for uprobes on powerpc, with uprobe specific code.

We reuse the kprobe code to enable single stepping by making it generic
and save/restore the MSR (and DBCR for BookE) across the single step.

This series applies on top of the patches posted by Oleg at :
https://lkml.org/lkml/2012/10/28/92


Patches have been verified on Power6 and PPC440 (BookE).

---

Suzuki K. Poulose (2):
powerpc: Move the single step enable code to a generic path
uprobes/powerpc: Make use of generic routines to enable single step


arch/powerpc/include/asm/probes.h | 29 +++++++++++++++++++++++++++++
arch/powerpc/include/asm/uprobes.h | 4 ++++
arch/powerpc/kernel/kprobes.c | 21 +--------------------
arch/powerpc/kernel/uprobes.c | 11 +++++++++--
4 files changed, 43 insertions(+), 22 deletions(-)

--
Suzuki



\
 
 \ /
  Last update: 2012-11-26 12:21    [W:0.048 / U:23.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site