]> sourceware.org Git - systemtap.git/commit
Here is a patch implements a way for uprobes to skip single step
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Fri, 28 May 2010 10:45:02 +0000 (16:15 +0530)
committerSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Fri, 28 May 2010 10:45:02 +0000 (16:15 +0530)
commitf2c6cb7149b317baa7e1cb66312febc4b1ae5f9f
treef3665ac01e3593e89e8c67fd8abc2deb233efa14
parent7894384ed3d87dcd38a6710235650787cdd2aecd
Here is a patch implements a way for uprobes to skip single step
when a probe in on a nop instruction.

Currently its implemented for nop on x86/x86_64 and s390.
For powerpc, its implemented on all instructions that can be emulated.
(For this emulation code is borrowed from arch/powerpc/lib/sstep.c)

I havent tested it on s390. Updated with comments from Jim.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Reported-by: Josh Stone <jistone@redhat.com>
runtime/uprobes/uprobes.c
runtime/uprobes/uprobes.h
runtime/uprobes/uprobes_i386.c
runtime/uprobes/uprobes_ppc.c
runtime/uprobes/uprobes_s390.c
runtime/uprobes/uprobes_x86.c
runtime/uprobes/uprobes_x86_64.c
runtime/uprobes2/uprobes.c
runtime/uprobes2/uprobes.h
runtime/uprobes2/uprobes_x86.c
This page took 0.027412 seconds and 5 git commands to generate.