This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] Fix kprobes handling of simultaneous probehit/unregister
- From: "David S. Miller" <davem at davemloft dot net>
- To: jkenisto at us dot ibm dot com
- Cc: linux-kernel at vger dot kernel dot org, akpm at osdl dot org, ppancham at in dot ibm dot com,systemtap at sources dot redhat dot com
- Date: Wed, 31 Aug 2005 15:27:37 -0700 (PDT)
- Subject: Re: [PATCH] Fix kprobes handling of simultaneous probehit/unregister
- References: <1125525217.2855.35.camel@localhost.localdomain>
From: Jim Keniston <jkenisto@us.ibm.com>
Date: 31 Aug 2005 14:53:37 -0700
> This bug doesn't exist on ppc64 and ia64, where a breakpoint
> instruction leaves the IP pointing to the beginning of the instruction.
> I don't know about sparc64. (Dave, could you please advise?)
On sparc64 instructions are all 32-bit, 4-byte aligned, and a
breakpoint instruction leaves the PC pointing at the beginning of that
breakpoint instruction.
So I think sparc64 should be OK.