From: Mathieu Desnoyers Date: Fri, 4 Nov 2016 13:42:03 +0000 (-0600) Subject: Implement LTTNG_UST_BLOCKING_RETRY_TIMEOUT X-Git-Tag: v2.10.0-rc1~36 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=6f97f9c2bbc74605e3de2b05333ecf25fa52d6fc;hp=6f97f9c2bbc74605e3de2b05333ecf25fa52d6fc;p=lttng-ust.git 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 CC: "Carlos O'Donell" ---