This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: thoughts about exception-handling requirements for kprobes
On Tue, Mar 21, 2006 at 12:30:38AM +0000, Richard J Moore wrote:
> > What I am saying is that we should look into kprobes to see
> > if we can support calling users pre/post handlers
> > without having to disable preempt.
>
> Anil, I have already explained the difficulty caused by allowing
> pre-emption, namely that the ordering of pre and post single-step events
> is not necessarily preserved.
> I explained how we can overcome this by using a hand-crafted per-thread
> single-step stack. See my append a week or so ago on single-stepping with
> interrupts enabled.
Sure, I will take a look at this and will get back to you.
thanks,
Anil