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.


_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to