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

2012-08-20 Thread Sebastian Andrzej Siewior
On 08/13/2012 01:34 PM, Peter Zijlstra wrote: I'm not really happy with any of this. I would suggest limiting this stuff much further, like say only have it affect ptraced processes/tasks. That way you cannot accidentally freeze the entire system into oblivion. I'be been browsing over the

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

2012-08-20 Thread Sebastian Andrzej Siewior
On 08/13/2012 01:34 PM, Peter Zijlstra wrote: I'm not really happy with any of this. I would suggest limiting this stuff much further, like say only have it affect ptraced processes/tasks. That way you cannot accidentally freeze the entire system into oblivion. I'be been browsing over the

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

2012-08-14 Thread Sebastian Andrzej Siewior
On 08/13/2012 03:16 PM, Oleg Nesterov wrote: On 08/09, Sebastian Andrzej Siewior wrote: * Oleg Nesterov | 2012-08-08 15:14:57 [+0200]: What I miss right now is an interface to tell the user/gdb that there is a program that hit a global breakpoint and is waiting for further instructions. A

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

2012-08-14 Thread Sebastian Andrzej Siewior
On 08/13/2012 03:16 PM, Oleg Nesterov wrote: On 08/09, Sebastian Andrzej Siewior wrote: * Oleg Nesterov | 2012-08-08 15:14:57 [+0200]: What I miss right now is an interface to tell the user/gdb that there is a program that hit a global breakpoint and is waiting for further instructions. A

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

2012-08-13 Thread Oleg Nesterov
On 08/09, Sebastian Andrzej Siewior wrote: > > * Oleg Nesterov | 2012-08-08 15:14:57 [+0200]: > > >> What I miss right now is an interface to tell the user/gdb that there is a > >> program that hit a global breakpoint and is waiting for further > >> instructions. > >> A "tail -f trace" does not

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

2012-08-13 Thread Peter Zijlstra
On Tue, 2012-08-07 at 18:12 +0200, Sebastian Andrzej Siewior wrote: > By setting an uprobe tracepoint, one learns whenever a certain point > within a program is reached / passed. This is recorded and the > application continues. > This patch adds the ability to hold the program once this point has

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

2012-08-13 Thread Peter Zijlstra
On Tue, 2012-08-07 at 18:12 +0200, Sebastian Andrzej Siewior wrote: By setting an uprobe tracepoint, one learns whenever a certain point within a program is reached / passed. This is recorded and the application continues. This patch adds the ability to hold the program once this point has

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

2012-08-13 Thread Oleg Nesterov
On 08/09, Sebastian Andrzej Siewior wrote: * Oleg Nesterov | 2012-08-08 15:14:57 [+0200]: What I miss right now is an interface to tell the user/gdb that there is a program that hit a global breakpoint and is waiting for further instructions. A tail -f trace does not work and may

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

2012-08-09 Thread Sebastian Andrzej Siewior
* Oleg Nesterov | 2012-08-08 15:14:57 [+0200]: >> What I miss right now is an interface to tell the user/gdb that there is a >> program that hit a global breakpoint and is waiting for further instructions. >> A "tail -f trace" does not work and may contain also a lot of other >> informations.

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

2012-08-09 Thread Sebastian Andrzej Siewior
* Oleg Nesterov | 2012-08-08 15:14:57 [+0200]: What I miss right now is an interface to tell the user/gdb that there is a program that hit a global breakpoint and is waiting for further instructions. A tail -f trace does not work and may contain also a lot of other informations. I've been

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

2012-08-08 Thread Oleg Nesterov
On 08/07, Sebastian Andrzej Siewior wrote: > > By setting an uprobe tracepoint, one learns whenever a certain point > within a program is reached / passed. This is recorded and the > application continues. > This patch adds the ability to hold the program once this point has been > passed and the

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

2012-08-08 Thread Oleg Nesterov
On 08/07, Sebastian Andrzej Siewior wrote: By setting an uprobe tracepoint, one learns whenever a certain point within a program is reached / passed. This is recorded and the application continues. This patch adds the ability to hold the program once this point has been passed and the user

[RFC 5/5] uprobes: add global breakpoints

2012-08-07 Thread Sebastian Andrzej Siewior
By setting an uprobe tracepoint, one learns whenever a certain point within a program is reached / passed. This is recorded and the application continues. 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. First, setup

[RFC 5/5] uprobes: add global breakpoints

2012-08-07 Thread Sebastian Andrzej Siewior
By setting an uprobe tracepoint, one learns whenever a certain point within a program is reached / passed. This is recorded and the application continues. 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. First, setup