ctf: Add dash to stream name suffixes
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 25 Apr 2019 15:00:02 +0000 (11:00 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commitb1acab38a0e781eb24adc6184b09d79388f69ebe
tree47d5d34ad95c4a704147b70d44cc1f21378efbfe
parentbe38c486cab72755ecbf7e5b669ab537c4b97f49
ctf: Add dash to stream name suffixes

We add numerical suffixes to stream names, if needed, to make them
unique. For trace directories, we do something similar and decided to
format these suffixes with a dash to avoid confusion if the original
name ends with a number.  This patch does the same thing but for stream
names.

Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Change-Id: I3041fe98bbeb3c122d06e5fa54449ed6e55017bd
Reviewed-on: https://review.gerrithub.io/c/eepp/babeltrace/+/452110
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: Philippe Proulx <eeppeliteloop@gmail.com>
plugins/ctf/fs-sink/fs-sink-stream.c
This page took 0.024435 seconds and 4 git commands to generate.