2.10: --blocking-timeout uses `inf` instead of -1 for infinity
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 1 Aug 2017 19:52:21 +0000 (15:52 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 1 Aug 2017 19:52:21 +0000 (15:52 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
2.10/lttng-docs-2.10.txt

index 10d1f443d4a38edc0d0684ed4501a9d54c9e46c6..bda65ce45704ce72c0c838c56f82c8f6a0f4631d 100644 (file)
@@ -138,7 +138,7 @@ instrumented with LTTng-UST which is explicitly allowed to block:
 [role="term"]
 ----
 $ lttng create
-$ lttng enable-channel --userspace --blocking-timeout=-1 blocking-channel
+$ lttng enable-channel --userspace --blocking-timeout=inf blocking-channel
 $ lttng enable-event --userspace --channel=blocking-channel --all
 $ lttng start
 $ LTTNG_UST_ALLOW_BLOCKING=1 my-app
@@ -5957,7 +5957,7 @@ in blocking mode to +__TIMEOUTUS__+:
 0 (default)::
     Never block (non-blocking mode).
 
--1::
+`inf`::
     Block forever until space is available in a sub-buffer to record
     the event.
 
@@ -6026,7 +6026,7 @@ and <<basic-tracing-session-control,start tracing>>:
 [role="term"]
 ----
 $ lttng create
-$ lttng enable-channel --userspace --blocking-timeout=-1 blocking-channel
+$ lttng enable-channel --userspace --blocking-timeout=inf blocking-channel
 $ lttng enable-event --userspace --channel=blocking-channel --all
 $ lttng start
 ----
This page took 0.027304 seconds and 4 git commands to generate.