cli: add `--allowed-mip-versions` option to restrict MIP version
Introduce a new "--allowed-mip-versions=VER" command line argument
to babeltrace2. By default, versions 0 and 1 are allowed (prior behavior
before this patch). It allows specifying that either version 0 or 1 are
to be allowed in the graph. Its main purpose is for testing
implementation of plugin components interactions for specific MIP
versions.
Philippe's changes to the original patch:
‣ Use `--allowed-mip-versions` instead of `--allowed-mip-version`: in
the future we might want to make it possible to specify more than one
version, for example `--allowed-mip-versions=0,1,5` or even
`--allowed-mip-versions=0-2,5`.
The current single-version format is to be considered an initial,
temporary limitation.
‣ Use the short option `-m` for `--allowed-mip-versions`.
‣ Sort options alphabetically by long name in the output of `--help`.
‣ Updated the manual pages.
Change-Id: I1c9f74176f6686ec560ede2494b89e28f35da6a6
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12792
Tested-by: jenkins <jenkins@lttng.org>
This page took 0.025252 seconds and 4 git commands to generate.