From: Jérémie Galarneau Date: Thu, 14 May 2020 20:08:56 +0000 (-0400) Subject: Fix: lttng: Destroying session message repeated during destruction X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;ds=sidebyside;h=dec2c8e12255d3533664cba9042f0d051c4207ac;hp=dec2c8e12255d3533664cba9042f0d051c4207ac;p=lttng-tools.git Fix: lttng: Destroying session message repeated during destruction Observed Issue ============== The `Destroying session X` is repeated indifinitely whenever the data pending phase lasts more than one iteration. ``` $ lttng destroy Destroying session eloi_turcotte.Destroying session eloi_turcotte.Destroying session eloi_turcotte.Destroying session eloi_turcotte.D ``` Cause ===== Missing check that the message has been printed. Solution ======== Use the same check as is done later for lttng_destruction_handle_wait_for_completion(). Known drawbacks =============== None. Signed-off-by: Jérémie Galarneau Change-Id: I6cd29d917925644a4994c515b4177bbd05ffa98e ---