Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] lttng enable-channel option for blocking
@ 2012-04-26 10:23 Woegerer, Paul
  2012-04-26 21:16 ` Mathieu Desnoyers
  0 siblings, 1 reply; 8+ messages in thread
From: Woegerer, Paul @ 2012-04-26 10:23 UTC (permalink / raw)


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 I can increase the subbuf-size but sometimes this is not an 
option (embedded targets with less RAM).

A new channel option like --block would be a fine complement for the 
already existing options --discard and --overwrite.

What do you think ?
Thanks,
Paul

-- 
Paul Woegerer | SW Development Engineer
Mentor Embedded(tm) | Prinz Eugen Stra?e 72/2/4, Vienna, 1040 Austria
P 43.1.535991320
Nucleus? | Linux? | Android(tm) | Services | UI | Multi-OS

Android is a trademark of Google Inc. Use of this trademark is subject to Google Permissions.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-30 14:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-26 10:23 [lttng-dev] lttng enable-channel option for blocking Woegerer, Paul
2012-04-26 21:16 ` Mathieu Desnoyers
2012-04-27  7:28   ` Woegerer, Paul
2012-04-27 11:33     ` Mathieu Desnoyers
2012-04-27 11:50       ` Woegerer, Paul
2012-04-27 12:43         ` Mathieu Desnoyers
2012-04-27 16:15           ` Woegerer, Paul
2012-04-30 14:20             ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox