Re: [lttng-dev] lttng enable-channel option for blocking

2013-05-02 Thread Mathieu Desnoyers
* Woegerer, Paul (paul_woege...@mentor.com) wrote: > On 04/30/2012 04:20 PM, Mathieu Desnoyers wrote: >> * Woegerer, Paul (paul_woege...@mentor.com) wrote: >>> On 04/27/2012 02:43 PM, Mathieu Desnoyers wrote: * Woegerer, Paul (paul_woege...@mentor.com) wrote: > On 04/27/2012 01:33 PM, Math

Re: [lttng-dev] lttng enable-channel option for blocking

2012-05-02 Thread Woegerer, Paul
On 04/30/2012 04:20 PM, Mathieu Desnoyers wrote: * Woegerer, Paul (paul_woege...@mentor.com) wrote: On 04/27/2012 02:43 PM, Mathieu Desnoyers wrote: * Woegerer, Paul (paul_woege...@mentor.com) wrote: On 04/27/2012 01:33 PM, Mathieu Desnoyers wrote: A core difference between ulimit and user-sp

Re: [lttng-dev] lttng enable-channel option for blocking

2012-04-30 Thread Mathieu Desnoyers
* Woegerer, Paul (paul_woege...@mentor.com) wrote: > On 04/27/2012 02:43 PM, Mathieu Desnoyers wrote: >> * Woegerer, Paul (paul_woege...@mentor.com) wrote: >>> On 04/27/2012 01:33 PM, Mathieu Desnoyers wrote: A core difference between ulimit and user-space tracing is that ulimit can only

Re: [lttng-dev] lttng enable-channel option for blocking

2012-04-27 Thread Woegerer, Paul
On 04/27/2012 02:43 PM, Mathieu Desnoyers wrote: * Woegerer, Paul (paul_woege...@mentor.com) wrote: On 04/27/2012 01:33 PM, Mathieu Desnoyers wrote: A core difference between ulimit and user-space tracing is that ulimit can only be set within the environment (and access right) of the user runni

Re: [lttng-dev] lttng enable-channel option for blocking

2012-04-27 Thread Mathieu Desnoyers
* Woegerer, Paul (paul_woege...@mentor.com) wrote: > On 04/27/2012 01:33 PM, Mathieu Desnoyers wrote: >> A core difference between ulimit and user-space tracing is that ulimit >> can only be set within the environment (and access right) of the user >> running the application. System-wide tracin

Re: [lttng-dev] lttng enable-channel option for blocking

2012-04-27 Thread Woegerer, Paul
On 04/27/2012 01:33 PM, Mathieu Desnoyers wrote: A core difference between ulimit and user-space tracing is that ulimit can only be set within the environment (and access right) of the user running the application. System-wide tracing sessions can be initiated by users member of the "tracing" g

Re: [lttng-dev] lttng enable-channel option for blocking

2012-04-27 Thread Mathieu Desnoyers
* Woegerer, Paul (paul_woege...@mentor.com) wrote: > On 04/26/2012 11:16 PM, Mathieu Desnoyers wrote: >> I already thought about permitting this, but we currently don't. The >> first thing I must say about this is that I prefer to wait a bit >> before we add this feature, and think about its im

Re: [lttng-dev] lttng enable-channel option for blocking

2012-04-27 Thread Woegerer, Paul
On 04/26/2012 11:16 PM, Mathieu Desnoyers wrote: I already thought about permitting this, but we currently don't. The first thing I must say about this is that I prefer to wait a bit before we add this feature, and think about its impact thoroughly, because allowing the tracer to block applicat

Re: [lttng-dev] lttng enable-channel option for blocking

2012-04-26 Thread Mathieu Desnoyers
* Woegerer, Paul (paul_woege...@mentor.com) wrote: > There are use-cases where loosing an event is not acceptable. > > Is there some way to make a userspace application block if the buffer is > full (instead of discarding the event or overwriting an old event) ? > > I'm thinking about something l

[lttng-dev] lttng enable-channel option for blocking

2012-04-26 Thread Woegerer, Paul
There are use-cases where loosing an event is not acceptable. Is there some way to make a userspace application block if the buffer is full (instead of discarding the event or overwriting an old event) ? I'm thinking about something like: lttng enable-channel myblockingchannel --block I know