ctf: add tracer version extraction function
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 12 Jun 2019 19:58:20 +0000 (15:58 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 16 Aug 2019 15:35:50 +0000 (11:35 -0400)
commit626cc4882d9afd80cfae4471b60dc4e882eb9bda
treee9c4b356e02f6d0c63450c8680474f84949596a2
parent27f26617ac7490642cd6fc5fe6931dac16c5b3ac
ctf: add tracer version extraction function

This commit adds a utility function to extract tracer version of a given
trace.

Because, it was discovered that some tracers may produce non-compliant
CTF traces more-or-less frequently. To accommodate those external tools,
we will add ad-hoc fixes for the affected version. We thus need a way to
check the tracer versions of the traces.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I67e73a5928dfac0cebc1135552f5525af930ebfc
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1418
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/fs-src/fs.c
This page took 0.024478 seconds and 4 git commands to generate.