flt.lttng-utils.debug-info: add all SC and EC to output trace class ASAP
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 4 Oct 2019 18:19:38 +0000 (14:19 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 23 Oct 2019 01:16:17 +0000 (21:16 -0400)
commitdb5d746d0a65296562d2b8cb88575b2b5f5c83bd
treeaae28646539d0f5ee16b941f9dd22272badb3052
parent8839434ec07524e32c8940d31e3083cf29d3074a
flt.lttng-utils.debug-info: add all SC and EC to output trace class ASAP

The fact that we are copying metadata only when encountering the data
associated to it leads to variations in the output of a
`sink.text.details` component when changing message batch size. It is
not wrong it's simply annoying.

So to improve that, this commit makes `flt.lttng-utils.debug-info`
components copy all the metadata of the input trace class as soon as it
encounters it.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I7a58e3ed4659ee73f5b0f94da5427ac8b06d5178
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2132
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/lttng-utils/debug-info/trace-ir-mapping.c
src/plugins/lttng-utils/debug-info/trace-ir-mapping.h
src/plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c
src/plugins/lttng-utils/debug-info/trace-ir-metadata-copy.h
This page took 0.024282 seconds and 4 git commands to generate.