From: Mathieu Desnoyers Date: Thu, 19 Sep 2019 19:36:03 +0000 (-0400) Subject: Send ust and kernel domain directory handle to consumer X-Git-Tag: v2.12.0-rc1~157 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=5da88b0f58d7f838068037ea449ddfb25d3e85ad;hp=5da88b0f58d7f838068037ea449ddfb25d3e85ad;p=lttng-tools.git Send ust and kernel domain directory handle to consumer Send a directory handle to ust/ and kernel/ subdirectories of the chunk to the consumer daemon, and alter the paths sent to consumer so they do not include the domain subdir. This will facilitate implementation of the clear command when no rotation has been performed. The clear command will need to move the ust/ and kernel/ directories to a "deleted" temporary directory while the consumer is still actively using those directories. Making sure that the consumer uses a handle on those subdirectories only ensures that the consumer will not observe any transient state when those directories are moved. Signed-off-by: Mathieu Desnoyers Change-Id: I2357ad702f810561c4d11405edc3ef204fc6c455 Signed-off-by: Jérémie Galarneau ---