fs-sink: add the single-trace option
authorJulien Desfossez <jdesfossez@efficios.com>
Thu, 15 Jun 2017 19:29:34 +0000 (15:29 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Jun 2017 18:28:14 +0000 (14:28 -0400)
commitcf5d5317e5ec71102458f51ff864268a3c5ae217
tree5413a4a8febc448f36616a3d776b5362920ed224
parent673a485c0c6a0e75dc183de6f115790d9a2be6e2
fs-sink: add the single-trace option

This option allows the user to control the output directory of the trace
written (instead of the path being derived from the source trace path
and hostname). This implies that the component only receives one trace.

If the output directory exists and is not empty, an error is returned.

To use it:
--component sink.ctf.fs --path /tmp/out -p single-trace=true

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/ctf/fs-sink/write.c
plugins/ctf/fs-sink/writer.c
plugins/ctf/fs-sink/writer.h
This page took 0.025228 seconds and 4 git commands to generate.