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:41 +0000 (17:20 -0400)
commitb2c5f61a9cb94a79c35167450666e540b3e0fffe
treec740e8af4d80282047bf1f9ee2e7f78b1ecb99ea
parent2df586a6d8136c08cf5f0b1210a268d6c37601de
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.025895 seconds and 5 git commands to generate.