Implement LTTNG_UST_BLOCKING_RETRY_TIMEOUT
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 4 Nov 2016 13:42:03 +0000 (07:42 -0600)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 8 Nov 2016 23:10:37 +0000 (18:10 -0500)
commit6f97f9c2bbc74605e3de2b05333ecf25fa52d6fc
tree6cf281269b25df9ad705e01e7c85ec2320fb7c63
parent082802f9e5efe64195520826743ea9c23e4ea1b7
Implement LTTNG_UST_BLOCKING_RETRY_TIMEOUT

Add LTTNG_UST_BLOCKING_RETRY_TIMEOUT environment variable:

       LTTNG_UST_BLOCKING_RETRY_TIMEOUT
           Maximum duration (milliseconds) to retry event tracing when
           there’s no space left for the event record in the
           sub-buffer.

           0 (default)
               Never block the application.

           Positive value
               Block the application for the specified number of
               milliseconds. If there’s no space left after this
               duration, discard the event record.

           Negative value
               Block the application until there’s space left for the
               event record.

           This option can be useful in workloads generating very
           large trace data throughput, where blocking the application
           is an acceptable trade-off to prevent discarding event
           records.

               Warning
               Setting this environment variable to a non-zero value
               may significantly affect application timings.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
CC: "Carlos O'Donell" <carlos@redhat.com>
configure.ac
doc/man/Makefile.am
doc/man/lttng-ust.3.txt
liblttng-ust/lttng-ust-comm.c
libringbuffer/Makefile.am
libringbuffer/rb-init.h [new file with mode: 0644]
libringbuffer/ring_buffer_frontend.c
libringbuffer/tlsfixup.h [deleted file]
This page took 0.026573 seconds and 4 git commands to generate.