Introduce LTTNG_UST_ALLOW_BLOCKING env. var.
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 May 2017 15:59:54 +0000 (17:59 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 12 Jun 2017 21:20:48 +0000 (17:20 -0400)
commit9050321d9d15e530dcb6baf539b53023cf114247
tree67e4d6b441c8398ee87076128dffa4cb211f9d64
parent71bf0951cf63dbd51058fc23700bf3742017fa29
Introduce LTTNG_UST_ALLOW_BLOCKING env. var.

Introduce the LTTNG_UST_ALLOW_BLOCKING env. var. to control whether
applications are allowed to block when a buffer is full. If set, it
allows the tracer to block the application when buffers are full.

The blocking is now controlled by a per-channel configuration option in
the LTTng control interface for channels with the "--blocking-timeout"
parameter, which is specified in usec (or -1 to block forever).

This replaces the LTTNG_UST_BLOCKING_RETRY_TIMEOUT env. var., which
actually never made it into a stable release (we therefore remove this
env. var).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
15 files changed:
configure.ac
doc/man/Makefile.am
doc/man/lttng-ust.3.txt
include/lttng/ust-abi.h
include/lttng/ust-ctl.h
include/lttng/ust-events.h
liblttng-ust-ctl/ustctl.c
liblttng-ust/getenv.c
liblttng-ust/lttng-ring-buffer-client.h
liblttng-ust/lttng-ring-buffer-metadata-client.h
liblttng-ust/lttng-ust-comm.c
libringbuffer/frontend.h
libringbuffer/frontend_types.h
libringbuffer/rb-init.h
libringbuffer/ring_buffer_frontend.c
This page took 0.025762 seconds and 4 git commands to generate.