lkml.org 
[lkml]   [2010]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] [PATCH 4/7] Uprobes Implementation
* Peter Zijlstra <peterz@infradead.org> [2010-01-15 11:33:27]:

>
> > Uprobes layer would need to be notified of process life-time events
> > like fork/clone/exec/exit.
>
> No so much the process lifetimes as the vma life times are interesting,
> placing a hook in the vm code to track that isn't too hard,
>
> > It also needs to know
> > - when a breakpoint is hit
> > - stop and resume a thread.
>
> A simple hook in the trap code is done quickly enough, and no reason to
> stop the thread, its not going anywhere when it traps.
>
>

Some of the threads could be executing in the vicinity of the
breakpoint when it is getting inserted or deleted. Wont we need to
stop/quiesce those threads?


\
 
 \ /
  Last update: 2010-01-15 14:11    [from the cache]
©2003-2011 Jasper Spaans