From: Jérémie Galarneau Date: Wed, 1 Apr 2020 22:34:59 +0000 (-0400) Subject: Fix: lttng-destroy: missing newline on session destruction message X-Git-Tag: v2.11.3~1 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=d316866a97157fa6dcf1c6a910a3ad46f852c0b1;hp=d316866a97157fa6dcf1c6a910a3ad46f852c0b1;p=lttng-tools.git Fix: lttng-destroy: missing newline on session destruction message The lost packets/discarded events statistics are printed on the same line as the session destruction progress message when the session is stopped as part of the `destroy` command. This is a consequence of printing the statistics as they are retrieved; the statistics must be fetched before the destruction, but the progress indicator is still being printed. The statistics output is now formatted to a buffer and printed after the session's destruction has completed. Signed-off-by: Jérémie Galarneau Change-Id: I2105056b109774a57c83be3e30984038880c0fb7 ---