src.ctf.fs: implement `MetadataStreamDecoder` class
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 3 Nov 2023 19:15:49 +0000 (19:15 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
commit9bc251139ac56d68a844b61bd63598d0f2ca4534
treeb5ee5b3479beacb103c96506e7ea89432dd3f456
parentb4a4f72504872d570f012f0fd0fb32919c883881
src.ctf.fs: implement `MetadataStreamDecoder` class

This class offers a `decode()` method that decodes a potentially
packetized metadata stream as a `std::string`.

After decoding a buffer, the `pktInfo()` method may return packet
information of the packetized metadata stream.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: Iee867271fe6493b19c4bd77151409886b7c01ed9
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8050
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12257
src/Makefile.am
src/compat/endian.h
src/plugins/ctf/common/src/metadata/tsdl/metadata-stream-decoder.cpp [new file with mode: 0644]
src/plugins/ctf/common/src/metadata/tsdl/metadata-stream-decoder.hpp [new file with mode: 0644]
This page took 0.024854 seconds and 4 git commands to generate.