Re: Two test cases

2008-12-12 Thread Denys Vlasenko
On Thu, 2008-12-11 at 12:10 -0500, Elena Zannoni wrote: Could you please give Wenji credit in the changelog. Of course. I just added this testcase under the name step-simple, it carries the following banner: /* Simple test whether PTRACE_SINGLESTEP stops at all. Based on testcase by Wenji

utrace extension events

2008-12-12 Thread Roland McGrath
Here is a brain dump about utrace extension events. This is an idea I've had more or less all along. It underpins some of the higher level ideas I'll post in other brain dumps. So I'll just spew details on the concept, so that it'll make sense when I talk about other things as if this existed

Re: utrace extension events

2008-12-12 Thread Roland McGrath
So, what are extension events good for? They have the desireable feature of signals: you can post one from almost anywhere in the kernel, and the event gets processed at the safe place just before returning to user mode (where you hold no kernel locks, can safely use user_regset, etc.). But