From: Jonathan Rajotte Date: Thu, 19 Sep 2019 20:56:11 +0000 (-0400) Subject: relayd: introduce --group-output-by-session X-Git-Tag: v2.12.0-rc1~252 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=a8b66566890a353cc3a89836281541195ad69d73;hp=a8b66566890a353cc3a89836281541195ad69d73;p=lttng-tools.git relayd: introduce --group-output-by-session LTTng-relayd now support the grouping of traces per session. This mode can be used via the "--group-output-per-session" switch. The default, and current way, of grouping is done around the host (hostname) of the traced system. When grouped by host the following folder hierarchy is mostly found on the filesystem: /-/ When using "--group-output-per-session", the following hierarchy is found on the filesystem: /-/ We also need to support base path information that come from the URIs set at the client level: lttng create --set-url=net://localhost/extra/path/information When grouping by host (current behaviour), it result in the following hierarchy: // e.g: /extra/path/information/ We want to part from this way of handling the base path since it can lead to unexpected conflict between session. When grouping by session using a base path, the following hierarchy is produced: /-// e.g: /-/extra/path/information/ We encourage user to move away from using base path entirely as it bypasses introduces potential name clashes and completely bypasses the relay daemon's storage policy. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---