ctf: add tracer version extraction function
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 12 Jun 2019 19:58:20 +0000 (15:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 4 Sep 2019 15:58:22 +0000 (11:58 -0400)
commit7b4d28d03a14b99ece76460da399e24f3233d3a5
treee932f2b49cef0deff6bc2be157be41387fec30d7
parent5ce43109b0457a954cd38f955b390a779941e4cb
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.024367 seconds and 4 git commands to generate.