cli: `convert` command: do not allow more than one sink component
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 16 Aug 2019 03:24:12 +0000 (23:24 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 16 Aug 2019 18:03:20 +0000 (14:03 -0400)
commit46f5573619830c3bcc48d9642dd047c36529faec
tree1be8c8513feb1f9bda6d7a6dc967dba1caaafb9a
parent02510056f9d34d7cd400f4a2d956012f28ca2c53
cli: `convert` command: do not allow more than one sink component

It's a nonsense to allow more than one component sink because, starting
from the muxer's single output port, there's a chain of components until
it reaches a sink. We don't have any tee filter, so we can't have more
than one sink: the second one won't get connected.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ibec54ae29b64bb0fb8637f1b37131f05abc53b77
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1953
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/cli/babeltrace2-cfg-cli-args.c
tests/cli/convert/test_convert_args
This page took 0.024975 seconds and 4 git commands to generate.