From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul_Woegerer@mentor.com (Woegerer, Paul) Date: Thu, 26 Apr 2012 12:23:15 +0200 Subject: [lttng-dev] lttng enable-channel option for blocking Message-ID: <4F992213.2090103@mentor.com> 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.