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>
Fri, 16 Jun 2017 21:12:19 +0000 (17:12 -0400)
commit6ca0eb99012c3c6bbe3da1f45086368403fcac30
tree73125542484b726ff2b690c93fe5d9ed1c048015
parent5177c3519afdc36b0948209c73f1d0719a9a3eb0
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.025096 seconds and 4 git commands to generate.