ctf: Add dash to stream name suffixes
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 25 Apr 2019 15:00:02 +0000 (11:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:39 +0000 (18:19 -0400)
commit62f543612ff766259bee1fff7e64e5861950cdd9
treee8c2b35ce43aa1d7d3f8189283e0688a1f4f6bc7
parent526ab5f05e2f5e78a0a8bf70da2325a1b9fe54fb
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.024463 seconds and 4 git commands to generate.