From: David Goulet Date: Wed, 17 Oct 2012 17:40:49 +0000 (-0400) Subject: Wait for data availability when stopping a session X-Git-Tag: v2.1.0-rc5~8 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=38ee087f699718e57d1bc5614c2f79c3c30ccca9;hp=38ee087f699718e57d1bc5614c2f79c3c30ccca9 Wait for data availability when stopping a session The lttng_stop_tracing now waits by default for data availability. A status output is added in the library on stdout. A no wait version is added to the API and the option no-wait is added to the lttng command line for the stop command. Also good to note that if a second stop_tracing call is done on an already stopped session, the call will wait for data availability before returning if the stop command on the session daemon returned an already stopped error code. Signed-off-by: David Goulet ---