From: Jérémie Galarneau Date: Tue, 26 Feb 2019 03:11:08 +0000 (-0500) Subject: Create an initial trace chunk on first start of an ltt_session X-Git-Tag: v2.11.0-rc3~140 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=698fb2ed72535f033de13d0ebca47cfe7d2faea4;hp=698fb2ed72535f033de13d0ebca47cfe7d2faea4;p=lttng-tools.git Create an initial trace chunk on first start of an ltt_session Add a current trace chunk to an ltt_session on session start. The session base output directory is created at that moment and an handle to it is provided to the session daemon's trace chunk when it is set in 'owner' mode. Setting the trace chunk in "owner" mode results in the creation of the chunk's output directory. In the case, of the first chunk, the chunk output directory matches the session output directory. Hence, this has no visible effect. Signed-off-by: Jérémie Galarneau ---