Re: [RFC 5/5 v2] uprobes: add global breakpoints

2012-08-30 Thread Sebastian Andrzej Siewior
On 08/29/2012 05:49 PM, Oleg Nesterov wrote: That would help but would require a change in ptrace_attach() or something in gdb/strace/… Well, I still think you should not touch ptrace_attach() at all. Okay. One thing I just noticed: If I don't register a handler for SIGUSR1 and send one to

Re: [RFC 5/5 v2] uprobes: add global breakpoints

2012-08-29 Thread Oleg Nesterov
On 08/27, Sebastian Andrzej Siewior wrote: > > On 08/22/2012 03:48 PM, Oleg Nesterov wrote: >> On 08/21, Sebastian Andrzej Siewior wrote: >>> >>> - not putting the task in TASK_TRACED but simply halt. This would work >>>without a change to ptrace_attach() but the task continues on any >>>si

Re: [RFC 5/5 v2] uprobes: add global breakpoints

2012-08-27 Thread Sebastian Andrzej Siewior
On 08/22/2012 03:48 PM, Oleg Nesterov wrote: On 08/21, Sebastian Andrzej Siewior wrote: This patch adds the ability to hold the program once this point has been passed and the user may attach to the program via ptrace. Sorry Sebastian, I didn't even try to read the patch ;) Fortunately I am n

Re: [RFC 5/5 v2] uprobes: add global breakpoints

2012-08-22 Thread Oleg Nesterov
On 08/21, Sebastian Andrzej Siewior wrote: > > This patch adds the ability to hold the program once this point has been > passed and the user may attach to the program via ptrace. Sorry Sebastian, I didn't even try to read the patch ;) Fortunately I am not maintainer, I can only reapeat that you d