[lttng-dev] lttng enable-channel option for blocking
Woegerer, Paul
Paul_Woegerer at mentor.com
Thu Apr 26 06:23:15 EDT 2012
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.
More information about the lttng-dev
mailing list