src.ctf.fs: add `force-clock-class-origin-unix-epoch` param
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 19 Sep 2019 19:56:44 +0000 (15:56 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 20 Sep 2019 19:11:35 +0000 (15:11 -0400)
commitc0aa240b810498f8c168a97f9128407988d7ed9e
tree25e936a1d086237c2d2078ccf6980ca3bef6d726
parent8258c4bd94a2ed6e3c23cd6c21c331b75d1ae52b
src.ctf.fs: add `force-clock-class-origin-unix-epoch` param

The `force-clock-class-origin-unix-epoch` initialization parameter makes
all the created clock classes have a Unix epoch origin. This is useful
to force the clock classes of multiple traces to be compatible even if
they are not inherently.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: If311081052e9be28ca5782ee684b4ef7bba66176
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2069
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/ctf/common/metadata/decoder.h
src/plugins/ctf/common/metadata/visitor-generate-ir.c
src/plugins/ctf/fs-src/fs.c
src/plugins/ctf/fs-src/metadata.c
src/plugins/ctf/fs-src/metadata.h
tests/data/plugins/src.ctf.fs/succeed/trace-2packets-barectf-event-before-packet.expect [new file with mode: 0644]
tests/plugins/src.ctf.fs/succeed/test_succeed
This page took 0.025084 seconds and 4 git commands to generate.