ctf: Add dash to stream name suffixes
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 25 Apr 2019 15:00:02 +0000 (11:00 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:12:56 +0000 (00:12 -0400)
commit5a25d385d62278c66a249fbbc569932edb4407bb
tree47d5d34ad95c4a704147b70d44cc1f21378efbfe
parent91ad2b70ca622c0a5ff73f1e9d0fbff9e898d895
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.026505 seconds and 5 git commands to generate.