From: Gabriel-Andrew Pollo-Guilbert Date: Mon, 29 Jul 2019 22:05:35 +0000 (-0400) Subject: Fix: wait for initial statedump before proceeding to the main program X-Git-Tag: v2.11.0-rc4~2 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=e85887ffacb8b265bba9a7a76b6375786fcb2c55;hp=e85887ffacb8b265bba9a7a76b6375786fcb2c55;p=lttng-ust.git Fix: wait for initial statedump before proceeding to the main program In the case of short lived applications, the application may exit before the initial statedump has completed. Higher-level trace analysis features such as translating addresses to symbols rely on statedump. That information is required for those analyses to work on such short-lived applications. Force the statedump to occur before handing the control to the application. Fixes #1190 Signed-off-by: Gabriel-Andrew Pollo-Guilbert Signed-off-by: Mathieu Desnoyers ---