[PATCH 2/2] [POWERPC] uprobes: powerpc port

Peter Zijlstra peterz at infradead.org
Wed Jun 6 19:27:02 EST 2012

On Wed, 2012-06-06 at 14:51 +0530, Ananth N Mavinakayanahalli wrote:
> One TODO in this port compared to x86 is the uprobe abort_xol() logic.
> x86 depends on the thread_struct.trap_nr (absent in powerpc) to determine
> if a signal was caused when the uprobed instruction was single-stepped/
> emulated, in which case, we reset the instruction pointer to the probed
> address and retry the probe again. 

Another curious difference is that x86 uses an instruction decoder and
contains massive tables to validate we can probe a particular

Can we probe all possible PPC instructions?

More information about the Linuxppc-dev mailing list