src.ctf.lttng-live fix: remove overly strict check for session name
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 8 Aug 2019 04:45:56 +0000 (00:45 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 8 Aug 2019 19:30:58 +0000 (15:30 -0400)
commitbe5d04a69d871a17842af4cbf8421be7a9d5bbbb
treee336b473a6e78614c21f308a618f578bc6e3dc0d
parent38403bf59288e53839f191f6da34792d9439528b
src.ctf.lttng-live fix: remove overly strict check for session name

The live component checks that the path of a stream contains a
session's name. While this check works when interacting with pre-2.11
peers, there is no reason for a session's name to necessarily be in a
stream's path.

The LTTng relay daemon, as of 2.11, now expresses its path relative to
a session's output path, the session's name no longer appears in a
stream's path.

There are no comments explaining the reason for this check and it is
not present in babeltrace 1.5.x. Hence, it appears safe to remove it.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic5499976ed45f1f4ae17056b9e881a8455898a44
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1845
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/lttng-live/metadata.c
This page took 0.02375 seconds and 4 git commands to generate.